-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
List of SCREAM log tasks #1372
Comments
I think that a lot of these tasks would be pretty easy to implement, provided we had a simple interface for printing to the atm.log file. I would propose creating a set of |
@bartgol, thats a great idea. |
I think @crterai told me that item 2 was accomplished by adding |
Item 7 and item 1 seem like the same thing (print all stuff to atm.log versus print homme stuff to atm log?). Also item 4 and 8 (both about printing info for each timestep) |
Kind of, but in a round about way. Doing that creates a |
Maybe I don't understand 3, but I think it's a bit complicated to write an "easy to read" dag to the atm log file... |
Regarding item 3: I like the idea of having to specify a verbosity flag before you start seeing stuff like the dag. Luca - is your point that we should keep the current "write the dag to a .dot file" implementation as-is because plain text just isn't sufficient for describing the dag? |
I'm just saying that with tens of fields, and 5+ atm processes, the txt representation of the DAG is impossible to parse. One can only have a clue of what's going where by looking at the jpg/png/xyz picture you get processing the dot file. Consider the dot file generated by our homme+physics test (I'm attaching it, in case you don't have it handy): even removing some of the xml syntax, it's hard to parse it to understand how the atm procs depend on each other... |
Yeah, Chris T gave me a dot file recently and I found that Word (weirdly) parsed the text ok but it was still hard to read. Do you have an example of the jpg/png version of the dotfile handy which I could look at? It doesn't need to be recent - I just want to recall what these graphics look like. |
@PeterCaldwell Running |
Oh, that's nice! Thanks. Should we be alarmed by the missing required fields? |
@bartgol , sorry. I should have been more precise. In EAM during the init there is a list printed to the atm.log file of all of the variables that can be written to file. It's just a numbered list, it has no DAG properties. But it is useful if you want to create an output control file. This idea came from talking to Chris T, who wanted a list of all the FM variables. The best I could give him was the DAG, but as the convo above points out it isn't very human readable. |
@PeterCaldwell , I tried to edit the tasks to clarify the differences between 1 and 7, and 4 and 8. |
ok |
No, though we need to improve it in v1.1. The missing fields are just fields that no other atm proc computes, and are in general just fields read from IC file and/or coming from surface coupling. We modified IC and SC logic quite a bit, in the last 6 months, but never really upgraded our DAG. We should find a way to add IC fields and SC fields in a way that they don't look as 'missing'. Another v1.1 task. |
@bartgol , for reference, this is what I mean by copying what EAM has. Below is a snippet of a list that is printed to the atm.log.* file for every EAM run.
|
Is the list in EAM containing all fields that are in pbuf, pbuf+state, or other? Also, does it contain all fields or just those to be written to out/restart file? |
In this list I believe EAM is just printing all fields which can be requested as output. So yes fields from the physics state and from PBUF. But not necessarily all fields from either of these sources. I think this list is populated using the IO routine |
Well, we can print something like
Not sure if all the fields/columns (overloaded words, I mean each entry of the row) are interesting, but it's info that we have, so we might as well... |
Yes, agreed. We can set it up such that adding a column in the future - if desired - isn't too difficult. But this is the sort of information I think would be super useful to the user. |
Currently the amount of information that is printed to one of the logs in a scream run is very minimal. In contrast, EAM prints quite a bit of information. This issue will detail a set of tasks that we may want to implement as we start running CIME based simulations.
printf
which seems to write to e3sm.log. Given that a lot of information is ATM specific, such as the set of HOMME namelist options used, we will want to create infrastructure to pass the ID of the atm.log file to SCREAM.nstep
andtime
information each step.The text was updated successfully, but these errors were encountered: