Recommend a directory structure for input/intermediate/output files #73
Replies: 4 comments 1 reply
-
Assuming stuff gets put on scratch (e.g. One approach might be I think that is similar to how I have done things in the past. Happy to defer to others' workflows, especially @cecilehannay. I don't have a strong opinion |
Beta Was this translation helpful? Give feedback.
-
I second the directory naming/structure that @andrewgettelman proposed, and would also defer to @cecilehannay. Not directory structure related per se, but as previously mentioned I also think the climo output file names should contain the years the calculation is based on. Following Andrew's proposed directory structure, a sample file could look like this: I can open a new discussion/issue on the climo file naming topic if needed; I wasn't sure whether to piggyback on this thread or not. |
Beta Was this translation helpful? Give feedback.
-
I would suggest not trying to use the directory name as a placeholder for information on the contents of the diagnostic output. It doesn't work when multiple cases are being compared. It leads to incredibly long paths - e.g., |
Beta Was this translation helpful? Give feedback.
-
I agree that the names can get long for two casenames. But I would be scared of your radical approach. We would end up with lots and lots of directories with inexplicable names. Maybe as an alternative, we could allow the user to specify another name instead of the case name? E.g.: case1dirname = 'Tst2', case2dirname='control'. We would then end up with: ADF/plots/Tst2_vs_control/assets I think we already have a title name for the case in the plots (but that could have spaces in it). Regards, Andrew |
Beta Was this translation helpful? Give feedback.
-
It came up in the walk-through that we might want to suggest a standard for directory structures in the config file.
Having a standard would be nice right now to keep from having a mess of dirs and files; in the future it will help us find each other's stuff easily.
Note that the figures currently are written to $cam_diag_plot_loc/$case_vs_$baseline_XXX/website.
And the regrid location is currently given outside of the case specifications, "used by all diagnostic runs"
@andrewgettelman (who raised the issue on the discussion) & others who ran the package ( @islasimpson , @phillips-ad , @cecilehannay, others?) do you want to suggest what you found useful?
Beta Was this translation helpful? Give feedback.
All reactions