Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
504 commits
Select commit Hold shift + click to select a range
53a4d78
add pft vars to TS for clm2.h1 files
wwieder Aug 20, 2025
9573f9f
correct error from ux.plot, adds line to plots
wwieder Aug 21, 2025
0063f85
draft notebook for ux_survival
wwieder Aug 24, 2025
c1ddac6
improve ux_h1 plotting fxn
wwieder Aug 25, 2025
93b5a57
replace polycollection with raster uxplotting
wwieder Aug 29, 2025
f7668c9
minor plotting control changes
wwieder Aug 29, 2025
4a0351a
allow for different wgts on regional plots
wwieder Aug 29, 2025
2af9bea
minor changes
wwieder Aug 30, 2025
8a4e0c4
Update plotting_functions.py
justin-richling Aug 30, 2025
ae43279
Update plotting_functions.py
justin-richling Aug 30, 2025
0f16a1a
Update plotting_functions.py
justin-richling Aug 30, 2025
a07847f
Update plotting_functions.py
justin-richling Aug 30, 2025
1cf4a87
Update plotting_functions.py
justin-richling Aug 30, 2025
0f61611
Update plotting_functions.py
justin-richling Aug 30, 2025
586dd11
Update plotting_functions.py
justin-richling Aug 30, 2025
9756d74
Update plotting_functions.py
justin-richling Aug 30, 2025
d4eb960
Update plotting_functions.py
justin-richling Aug 30, 2025
5ce2ea8
Update plotting_functions.py
justin-richling Aug 30, 2025
733625a
add web categories
wwieder Sep 4, 2025
bc88b4b
regional categories for website
wwieder Sep 4, 2025
6c6b2cf
add TWS category
wwieder Sep 4, 2025
32bda16
Update adf_dataset.py
richling-ucar Sep 10, 2025
c4884ac
Update regrid_and_vert_interp.py
richling-ucar Sep 10, 2025
a5a85b4
Update regrid_and_vert_interp.py
richling-ucar Sep 10, 2025
d4db137
Update regrid_and_vert_interp.py
richling-ucar Sep 10, 2025
cedb16a
Update regrid_and_vert_interp.py
richling-ucar Sep 10, 2025
4da0541
Update regrid_and_vert_interp.py
richling-ucar Sep 10, 2025
8a6ec82
Update regrid_and_vert_interp.py
richling-ucar Sep 10, 2025
5f303cf
Update global_latlon_map.py
richling-ucar Sep 10, 2025
fc8d8b3
Update plotting_functions.py
richling-ucar Sep 10, 2025
ddbbf5e
Update global_latlon_vect_map.py
richling-ucar Sep 11, 2025
1fea456
Update plotting_functions.py
richling-ucar Sep 11, 2025
9a89c3d
Update adf_diag.py
richling-ucar Sep 11, 2025
fc60e68
Update adf_diag.py
richling-ucar Sep 11, 2025
5af730c
Update adf_diag.py
richling-ucar Sep 11, 2025
dd5911e
Update utils.py
richling-ucar Sep 11, 2025
9c51aa4
Update adf_diag.py
richling-ucar Sep 11, 2025
907d558
Update utils.py
richling-ucar Sep 11, 2025
04b0195
Update adf_diag.py
richling-ucar Sep 11, 2025
4cddf46
Update adf_diag.py
richling-ucar Sep 11, 2025
18865f1
Update utils.py
richling-ucar Sep 11, 2025
822f360
Update utils.py
richling-ucar Sep 11, 2025
66a6761
Update utils.py
richling-ucar Sep 11, 2025
66e009e
Update adf_diag.py
richling-ucar Sep 11, 2025
788f6e4
Update cam_taylor_diagram.py
richling-ucar Sep 11, 2025
f7f6372
Update utils.py
richling-ucar Sep 11, 2025
a2bfeb6
Update cam_taylor_diagram.py
richling-ucar Sep 11, 2025
f3e58d1
Update utils.py
richling-ucar Sep 11, 2025
2a331e8
Update cam_taylor_diagram.py
richling-ucar Sep 11, 2025
29c7e22
Update utils.py
richling-ucar Sep 11, 2025
887c97a
Update create_climo_files.py
richling-ucar Sep 11, 2025
332c14d
Update cam_taylor_diagram.py
richling-ucar Sep 11, 2025
137bc41
Update qbo.py
richling-ucar Sep 11, 2025
fbb758d
Update regrid_and_vert_interp.py
richling-ucar Sep 11, 2025
0a61fe5
Update qbo.py
richling-ucar Sep 11, 2025
f4d1980
Update regrid_and_vert_interp.py
richling-ucar Sep 11, 2025
c9e6ef0
Update qbo.py
richling-ucar Sep 11, 2025
d69a14f
Update regrid_se_to_fv.py
richling-ucar Sep 11, 2025
545785b
Update utils.py
richling-ucar Sep 11, 2025
75fcb3d
Update utils.py
richling-ucar Sep 11, 2025
ecda48b
Update regrid_and_vert_interp.py
richling-ucar Sep 11, 2025
762f387
Update global_latlon_map.py
richling-ucar Sep 11, 2025
9b85559
Update plotting_functions.py
richling-ucar Sep 11, 2025
26762cb
Update amwg_table.py
richling-ucar Sep 11, 2025
9102f9a
Update plotting_functions.py
richling-ucar Sep 11, 2025
23a7f10
Update adf_diag.py
richling-ucar Sep 11, 2025
75f6ee0
Update utils.py
richling-ucar Sep 11, 2025
35fb6b6
remove print statements
richling-ucar Sep 11, 2025
4a5c42e
Update plotting_functions.py
richling-ucar Sep 11, 2025
9ee24bb
Update global_mean_timeseries.py
richling-ucar Sep 11, 2025
5775a0a
remove print statments
richling-ucar Sep 11, 2025
bb6936d
Update cam_taylor_diagram.py
richling-ucar Sep 11, 2025
c7e31ed
Update cam_taylor_diagram.py
richling-ucar Sep 11, 2025
4a61fe5
Update cam_taylor_diagram.py
richling-ucar Sep 11, 2025
ac75e1f
Update cam_taylor_diagram.py
richling-ucar Sep 11, 2025
dd76acd
Update cam_taylor_diagram.py
richling-ucar Sep 11, 2025
8a9f490
Update cam_taylor_diagram.py
richling-ucar Sep 11, 2025
7d89b30
Update cam_taylor_diagram.py
richling-ucar Sep 11, 2025
8a51dc1
adding FPSN for SP cases
wwieder Sep 30, 2025
9050517
may not be needed
wwieder Sep 30, 2025
29110ee
config example for B-case
wwieder Sep 30, 2025
bb24301
Add regional map for structured grids
megandevlan Oct 3, 2025
5f50f17
Merge pull request #419 from megandevlan/updateRegionalMaps
wwieder Oct 3, 2025
99ee584
initial C isotope results
wwieder Oct 10, 2025
898c9c3
more Ciso processing
wwieder Oct 14, 2025
cb5720d
fixes #409, partially
wwieder Oct 15, 2025
cf1c2c7
trying to bring in Meg's changes
wwieder Oct 15, 2025
8323fe1
fix regional for structured grids
wwieder Oct 16, 2025
7d9c075
remove debug print statement
wwieder Oct 20, 2025
ab6ade9
add burned area to regional climos
wwieder Oct 28, 2025
91cd20c
correct yaml file path for cupid
wwieder Oct 29, 2025
d9b960b
adding path to regional.yaml to config file
wwieder Oct 29, 2025
3967694
Merge branch 'clm-diags' into clm-diags
wwieder Oct 29, 2025
bb77ade
corrected conflicts
wwieder Oct 29, 2025
4232d75
Merge pull request #411 from wwieder/clm-diags
wwieder Oct 29, 2025
b9035e2
removing old code
wwieder Oct 30, 2025
566fffd
Merge pull request #421 from wwieder/clm-diags
wwieder Oct 30, 2025
8dc22d4
minor fix to get land regridding to work
wwieder Nov 13, 2025
f0cc2e6
start regional TS capability
wwieder Nov 13, 2025
57022a3
my last adf_dataset commit
wwieder Nov 13, 2025
71d1b7c
working regional ts plots
wwieder Nov 14, 2025
a7f7892
improved load functions from ADF
wwieder Nov 14, 2025
7fb295e
updated load_reference_ds calls
wwieder Nov 14, 2025
2fcb8b9
add some LDF titles to websites
wwieder Nov 14, 2025
51e9129
Merge pull request #428 from wwieder/clm-diags
wwieder Nov 14, 2025
aa03eb9
add regional TS to defaults
wwieder Nov 24, 2025
6e1c368
Merge pull request #429 from wwieder/clm-diags
wwieder Nov 24, 2025
a9fd0ee
add CERES obs, SOILWATER, more regions
wwieder Dec 3, 2025
de1ac5e
Merge pull request #430 from wwieder/clm-diags
wwieder Dec 3, 2025
a5e79c3
uxarray h1 example
wwieder Dec 8, 2025
3de8296
Merge pull request #432 from wwieder/clm-diags
wwieder Dec 8, 2025
efeebdf
LDF corrections for CUPiD
wwieder Jan 15, 2026
df65f0e
Merge pull request #434 from wwieder/clm-diags
wwieder Jan 15, 2026
9efa367
avoid nans and infs in plotting stats
wwieder Jan 30, 2026
5277831
additional CAM deposition variables
wwieder Jan 30, 2026
731c57b
shuffle regional vars plotted
wwieder Jan 30, 2026
62a8223
new regoins for regional plots
wwieder Jan 30, 2026
b4e12b4
better ranges on diffs
wwieder Feb 5, 2026
7164d6b
new defaults to check cplhist
wwieder Feb 5, 2026
40c2b5c
config files for checking cplhist
wwieder Feb 5, 2026
3ddf102
add area burned fields
wwieder Feb 10, 2026
7d902c6
Merge pull request #439 from wwieder/clm-diags
wwieder Feb 10, 2026
59138cd
new var defaults
wwieder Feb 18, 2026
8bd3d44
fix paths for BvI case
wwieder Feb 28, 2026
a3b2fd3
enable SH plots in LDF
wwieder Mar 2, 2026
874d8bd
Merge pull request from wwieder/antarctica
wwieder Mar 2, 2026
fa2983e
update path for observations
wwieder Mar 12, 2026
e283315
require explicit ts and climo start-end years
wwieder Mar 13, 2026
29e1d76
Bring up to newest ADF
richling-ucar Mar 17, 2026
c3de174
Bring up to newest ADF
richling-ucar Mar 17, 2026
df67a20
Bring up to newest ADF
richling-ucar Mar 17, 2026
51cb685
Bring up to newest ADF
richling-ucar Mar 17, 2026
74d0405
Bring up to newest ADF
richling-ucar Mar 17, 2026
369f95d
Update utils.py
richling-ucar Mar 17, 2026
cebd425
Trya nd fix bilinear regrid
richling-ucar Mar 17, 2026
958fb91
Update utils.py
richling-ucar Mar 17, 2026
07efc30
Fix error in run_info html template
richling-ucar Mar 17, 2026
4eb3a26
Update adf_diag.py
richling-ucar Mar 17, 2026
20ce2ca
Update global_latlon_map.py
richling-ucar Mar 17, 2026
097f512
Update global_latlon_map.py
richling-ucar Mar 17, 2026
a86eb16
Merge remote-tracking branch 'upstream/main' into clm-diags-atm
richling-ucar Mar 17, 2026
c4aa750
fix code
richling-ucar Mar 17, 2026
18e9875
Bring in changes
richling-ucar Mar 18, 2026
a2ff6d4
Updates for native grid plotting
richling-ucar Mar 26, 2026
e6681a0
adding CH4 variables
wwieder Mar 27, 2026
f9e4bf3
Add html script for image comp
richling-ucar Mar 30, 2026
eeb9953
Update unstructured/native grid plotting
richling-ucar Mar 30, 2026
a45e640
hack for CH4 plotting
wwieder Apr 7, 2026
d90f297
CH4 history output
wwieder Apr 7, 2026
0ebb6d6
1deg regridding example
wwieder Apr 8, 2026
0fe3c71
manual regridding function
wwieder Apr 10, 2026
4bb8561
remove NaNs on computed TS files
wwieder Apr 10, 2026
f503884
create subsection for CH4 vars
wwieder Apr 20, 2026
7918585
notebook with f09-1deg regridding checks
wwieder Apr 20, 2026
0223506
try latest update
richling-ucar Apr 29, 2026
bb98c28
Update fixes in native grids
richling-ucar May 12, 2026
35f5aea
Attempt to bring in `plotting-enhancements` features
richling-ucar May 18, 2026
9b99584
Attempt to bring in `plotting-enhancements` features
richling-ucar May 18, 2026
c215746
Attempt to bring in `plotting-enhancements` features
richling-ucar May 18, 2026
9498fa7
Attempt to bring in `plotting-enhancements` features
richling-ucar May 18, 2026
e0354b3
Attempt to bring in `plotting-enhancements` features
richling-ucar May 18, 2026
41c6553
Add debug for scale factor and offset
richling-ucar May 18, 2026
37acee2
Add unstructured handling for `domain_stats`
richling-ucar May 18, 2026
ff8e79d
Remove any default offset and scale factor to clean up script
richling-ucar May 18, 2026
c385ae7
Move plotting functions to utils
richling-ucar May 18, 2026
f25086c
clean up code
richling-ucar May 18, 2026
e5bf320
Remove print statements and old code
richling-ucar May 18, 2026
8267e36
Add Talyor diagram to native grid plotting
richling-ucar May 26, 2026
560fc6a
remove old files
richling-ucar May 28, 2026
d1d7062
remove old files
richling-ucar May 28, 2026
d9f2c57
remove old files
richling-ucar May 28, 2026
65a715e
Fix linting errors
richling-ucar May 28, 2026
a568a22
Fix linting errors
richling-ucar May 28, 2026
6a89423
Merge pull request #456 from justin-richling/native-grid-draft
justin-richling May 28, 2026
194dbb7
Remove old package
justin-richling May 28, 2026
679b0a4
Clean up print statements
richling-ucar May 29, 2026
5b82c83
Move redo_plot and plot_type print statements from plot scripts to ad…
richling-ucar May 29, 2026
f8eb1f5
Retain data variable attributes
richling-ucar May 29, 2026
5a539f2
test new lon bin method
richling-ucar May 29, 2026
dec200a
Remove redo_plot and plot_type print statements
richling-ucar May 29, 2026
6eb13a4
Add message to debug log
richling-ucar May 29, 2026
ac8e1f2
Enamble plots with unstructured plotting
richling-ucar May 29, 2026
cb35727
Add gridded reference time series data check
richling-ucar May 29, 2026
4351e0d
energy balance diagnostics
wwieder Jun 9, 2026
376abc4
correct ts_year bug
wwieder Jun 9, 2026
f7b043b
corrected areas in ncremap script
wwieder Jun 9, 2026
fdbc35a
modified regional var list
wwieder Jun 9, 2026
cc73b8e
config files updates
wwieder Jun 9, 2026
e6e111f
Remove comments
richling-ucar Jun 10, 2026
b412e97
Fix logic for obs
richling-ucar Jun 14, 2026
6311c63
Fix erroneous character
richling-ucar Jun 14, 2026
8cfd165
add WIEMIP vars and config
wwieder Jul 12, 2026
8b286dc
modified regional variables
wwieder Sep 23, 2026
7a4e800
fix error message
wwieder Sep 23, 2026
8d2c690
fix time error in adf_diag
wwieder Sep 30, 2026
cb58e3e
add monoterpine sums
wwieder Sep 30, 2026
1d70a85
put regional variables list in yaml
wwieder Sep 30, 2026
0177bff
avoid devide by zeros in plotting
wwieder Sep 30, 2026
2191a2b
claude's attempt to set zero in the middle of difference plots
wwieder Oct 6, 2026
c6db27e
tracked WIEMIP config files
wwieder Oct 9, 2026
d2faf8a
Merge origin/main into native-grid (via native-grid-merge-main)
richling-ucar Oct 10, 2026
026a1dc
Remove latlon_file option and unused build_regridder
richling-ucar Oct 10, 2026
d5f8d55
Restore main's behavior where the merge had changed it
richling-ucar Oct 10, 2026
3940aba
Merge branch 'ww-clm-diags' into ldf-native-grid-merge-main
richling-ucar Oct 16, 2026
f40c128
accelerate uxarray plotting with Claude's help
wwieder Oct 19, 2026
9096606
Port cartopy/PROJ 9.8 plotting fix from cartopy-PROJ-fix
richling-ucar Oct 19, 2026
d52459e
Port remaining cartopy-PROJ-fix changes to make_polar_plot
richling-ucar Oct 19, 2026
065d5b4
Rename cam_ts_done to calc_cam_ts; reuse existing time series
richling-ucar Oct 19, 2026
cc1fd94
Merge branch 'main' into ldf-native-grid-merge-main
richling-ucar Oct 20, 2026
d1ed31b
Add check for category for logp plots
richling-ucar Oct 20, 2026
8e60e34
Keep time encoding when gridding native time series
richling-ucar Oct 22, 2026
32cf615
AdfData: native climo fallback, optional reference, any-case time series
richling-ucar Oct 22, 2026
78d0270
Plot whatever cases have data; skip-with-warning guards
richling-ucar Oct 22, 2026
bf11ac0
Land regional plots: each case on its own grid, one legend
richling-ucar Oct 22, 2026
c1e6bd2
Env adf_v1.0.5: uxarray 2025.6.0, pylint/astroid/pytest dev tools
richling-ucar Oct 22, 2026
41e4192
Add per variable LENS2 data loc
richling-ucar Oct 22, 2026
b393734
Update AMWG tables to reflect time series years
richling-ucar Oct 22, 2026
c711eb7
Update single plot
richling-ucar Oct 22, 2026
50e7499
Fix duplicate entries in land variable yaml files
richling-ucar Oct 22, 2026
f45d03d
Name climo and regridded files after their climatology years
richling-ucar Oct 22, 2026
b2a660d
Derived variables get their own units when the formula changes them
richling-ucar Oct 22, 2026
e8a7c65
Native polar maps: blank missing cells in % panel, NaN-safe means
richling-ucar Oct 22, 2026
bc1fe98
Remove rgb since we want to keep these files in the repo now
richling-ucar Oct 23, 2026
0c38d49
Fix the mesh_file and mesh_files property comments in AdfInfo
richling-ucar Oct 23, 2026
1a9fbb7
Fix the ELAI and QBOT unit strings in the land variable defaults
richling-ucar Oct 23, 2026
eb0ccfb
Add updated example land config files
richling-ucar Oct 23, 2026
916ebe4
Fix hist file attribute in time series file
richling-ucar Oct 24, 2026
0abd4a5
Bring the modified lib/ files above the CI pylint threshold
richling-ucar Oct 26, 2026
70e6dae
Add lev check for obs
richling-ucar Oct 26, 2026
fdb06e7
Add native grid to structured comparisons
richling-ucar Oct 27, 2026
4868272
Add check for needed land vars
richling-ucar Oct 27, 2026
4550168
update to latest uxarray
wwieder Oct 27, 2026
79b28c4
print statements for lat-lon maps
wwieder Oct 27, 2026
f736c77
Bring native grid features to Taylor Diagrams
richling-ucar Oct 27, 2026
33b11cd
print total time for run_adf to complete
wwieder Oct 27, 2026
24cefb4
fixing x-axes for global TS plots
wwieder Oct 27, 2026
b516e03
Merge pull request #504 from wwieder/mergeTest
richling-ucar Oct 28, 2026
9141b9d
Remove `BURNED_AREA` from derived check
richling-ucar Oct 28, 2026
92b1105
Fix global lat/lon missing mask for ocean
richling-ucar Oct 28, 2026
8e5e636
Speed up native-grid lat-lon and polar maps with cached pixel mappings
wwieder Oct 29, 2026
989c944
Merge branch 'ldf-native-grid-merge-main' into mergeTest
wwieder Oct 29, 2026
64d797c
Sharpen native-grid polar maps
wwieder Oct 29, 2026
9f88dc1
Leave ocean blank on native-grid lat-lon maps
wwieder Oct 29, 2026
2f51ea8
default config updates
wwieder Oct 29, 2026
9b8a802
Merge branch 'ldf-native-grid-merge-main' into mergeTest
richling-ucar Oct 29, 2026
1adda59
Expand ADF file i/o loader functions and add PMID to TEM
richling-ucar Oct 29, 2026
e4477ee
Clean up ADF loading climo datasets to match other file functions
richling-ucar Oct 29, 2026
bf10e91
Consolodate for-loop for axes coastlines and gridlines
richling-ucar Oct 29, 2026
b27f7a5
Merge pull request #506 from wwieder/mergeTest
richling-ucar Oct 29, 2026
a5d1f68
Fix linting failures
richling-ucar Oct 29, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
80 changes: 80 additions & 0 deletions LAND-DIAGS_README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
### Here's a quick start that you can use for Land Diagnostics
#### Download the adf repo
On casper:
1. Navigate to the directory where you want the adf (e.g., `cd ~`)
2. Clone the ADF
`git clone https://github.com/NCAR/ADF.git`
3. Set your personal repository as the upstream repo
```
cd ADF
git remote add upstream https://github.com/<git_user_name>/ADF.git
```
4. Switch to the clm-diags branch
`git switch -c clm-diags origin/clm-diags`

#### Set up your computing environment
5. Create the ADF conda environment, which the land diagnostics use too (it includes the uxarray version, 2025.03.0, they need). On NCAR's CISL machines (derecho and casper), run the following on the command line:
```
module load conda
conda env create -f env/conda_environment.yaml
conda activate adf_v1.0.3
```
(The environment's name is set by the `name:` line at the top of `env/conda_environment.yaml`; add `-n <name>` to `conda env create` to choose another.)

Also, along with these python requirements, the `ncrcat` NetCDF Operator (NCO) is also needed. On the CISL machines this can be loaded by simply running the following on the command line:

```
module load nco
```

## Running ADF diagnostics

Detailed instructions for users and developers are availabe on this repository's [wiki](https://github.com/NCAR/ADF/wiki).

You'll have to add your username to the appropriate config file, but after that, for a quick try of land diagnostics

`./run_adf_diag config_clm_unstructured_plots.yaml`

This should generate a collection of time series files, climatology (climo) files, re-gridded climo files, and example ADF diagnostic figures, all in their respective directories.

**NOTE:** If you get NCO failures at the generate timeseries stage that end up causing LDF to fail, see issue [#365](https://github.com/NCAR/ADF/issues/365)

When additional memory is needed sometimes need to run interactive session on casper:
`execcasper -A P93300041 -l select=1:ncpus=4:mem=64GB`

## TEST for Land Diags:

For this branch there are (3) ways to run the ADF:

1) On native grid with unstructured plotting via Uxarray
2) On native grid but gridded to lat/lon
3) On already lat/lon gridded input files (hist, ts, or climo)

For (1), the config yaml file will be essentially the same, but with a couple of additional arguments:
- in `diag_basic_info` set the `unstructured_plotting` argument to `true`
- in each of the test and baseline section supply a mesh file in the `mesh_file` argument

Example yaml file: `config_clm_unstructured_plots.yaml`

For (2), the config yaml file will need some additional arguments:
- in each of the test and baseline sections, supply the following arguments:

Weights file:

`weights_file: /glade/work/wwieder/map_ne30pg3_to_fv0.9x1.25_scripgrids_conserve_nomask_c250108.nc`

Regridding method:

`regrid_method: 'coservative'`
(Yes, spelled incorectly for a bug in xESMF)

Lat/lon file:

`latlon_file: /glade/derecho/scratch/wwieder/ctsm5.3.018_SP_f09_t232_mask/run/ctsm5.3.018_SP_f09_t232_mask.clm2.h0.0001-01.nc`

NOTE: The regridding method set in `regrid_method` MUST match the method in the weights file

Example yaml file: `config_clm_native_grid_to_latlon.yaml`


:
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ This generates time series files, climatology (climo) files, re-gridded climo fi
### What the ADF produces

A run goes through the stages below in order. Each writes to a location set in the `diag_basic_info`
or case block of the config file. Time series can be skipped with `cam_ts_done: true`, the website with
or case block of the config file. Time series can be skipped with `calc_cam_ts: false`, the website with
`create_html: false`, and the other stages by removing their scripts from the config.

| Stage | Output | Config key |
Expand Down
24 changes: 14 additions & 10 deletions config_amwg_default_plots.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -164,11 +164,13 @@ diag_cam_climo:
# end at latest available year.
end_year: 14

#Do time series files exist?
#If True, then diagnostics assumes that model files are already time series.
#If False, or if simply not present, then diagnostics will attempt to create
#time series files from history (time-slice) files:
cam_ts_done: false
#Calculate time series files?
#If true, or if simply not present, then diagnostics will create time series
#files from the history (time-slice) files in 'cam_hist_loc'.
#If false, then diagnostics will use the pre-made time series files in
#'cam_ts_loc' instead. (This used to be 'cam_ts_done', which meant the
#opposite; it is still accepted.)
calc_cam_ts: true

#Save interim time series files?
#WARNING: This can take up a significant amount of space,
Expand Down Expand Up @@ -242,11 +244,13 @@ diag_cam_baseline_climo:
# end at latest available year.
end_year: 14

#Do time series files need to be generated?
#If True, then diagnostics assumes that model files are already time series.
#If False, or if simply not present, then diagnostics will attempt to create
#time series files from history (time-slice) files:
cam_ts_done: false
#Calculate time series files?
#If true, or if simply not present, then diagnostics will create time series
#files from the history (time-slice) files in 'cam_hist_loc'.
#If false, then diagnostics will use the pre-made time series files in
#'cam_ts_loc' instead. (This used to be 'cam_ts_done', which meant the
#opposite; it is still accepted.)
calc_cam_ts: true

#Save interim time series files for baseline run?
#WARNING: This can take up a significant amount of space:
Expand Down
102 changes: 87 additions & 15 deletions config_cam_baseline_example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,22 @@ diag_basic_info:
#isn't specified in the variable defaults file.
obs_data_loc: /glade/campaign/cgd/amp/amwg/ADF_obs

#Location of the CESM2 LENS2 global, annual mean files plotted behind the
#global mean time series. Each variable's file is named by "lens2_file" in
#the variable defaults; leave this out and no LENS2 range is drawn (unless
#a "lens2_file" is given as a full path):
lens2_data_loc: /glade/campaign/cgd/cas/islas/CESM_DATA/LENS2/global_means/annualmeans

#Plot native-grid (unstructured, e.g. ne30pg3) cases on their own mesh with
#UXarray, instead of gridding them to lat/lon first. Each native case then
#needs a "mesh_file" (see the case settings below). If false, or missing,
#native cases are gridded to lat/lon with their "weights_file":
#unstructured_plotting: false

#Region definitions for the regional (land) plots listed in "region_list"
#(see the end of this file). If missing, ADF/lib/regions_lnd.yaml is used:
#regions_file: /some/path/to/regions_file.yaml

#Location where re-gridded and interpolated CAM climatology files are stored:
cam_regrid_loc: /glade/derecho/scratch/${user}/ADF/regrid

Expand Down Expand Up @@ -234,12 +250,20 @@ diag_cam_climo:
#Note: Leaving this entry blank will make time series
# end at latest available year.
end_year: 14
#("ts_start_year" and "ts_end_year" are accepted as other names for these.)

#Years the climatology covers, within the time series years above. If
#missing, the climatology covers all of the time series years:
#climo_start_year: 12
#climo_end_year: 14

#Do time series files exist?
#If True, then diagnostics assumes that model files are already time series.
#If False, or if simply not present, then diagnostics will attempt to create
#time series files from history (time-slice) files:
cam_ts_done: false
#Calculate time series files?
#If true, or if simply not present, then diagnostics will create time series
#files from the history (time-slice) files in 'cam_hist_loc'.
#If false, then diagnostics will use the pre-made time series files in
#'cam_ts_loc' instead. (This used to be 'cam_ts_done', which meant the
#opposite; it is still accepted.)
calc_cam_ts: true

#Save interim time series files?
#WARNING: This can take up a significant amount of space,
Expand All @@ -253,6 +277,26 @@ diag_cam_climo:
#Location where time series files are (or will be) stored:
cam_ts_loc: /glade/derecho/scratch/${user}/ADF/${diag_cam_climo.cam_case_name}/ts

#Native-grid cases
#-----------------
#ADF finds out from the files whether a case is on a native (unstructured)
#grid. Such a case needs one of these, depending on "unstructured_plotting":
#
#ESMF mesh file, to plot the case on its own grid ("unstructured_plotting: true"):
#mesh_file: /glade/campaign/cesm/cesmdata/inputdata/share/meshes/ne30pg3_ESMFmesh_cdf5_c20211018.nc
#
#Weights file that grids the case to the baseline's (or observations')
#lat/lon grid ("unstructured_plotting: false"). The weights decide the
#remapping (bilinear, conservative, ...):
#weights_file: /glade/campaign/cesm/cesmdata/inputdata/cpl/gridmaps/ne30pg3/map_ne30pg3_TO_fv0.9x1.25_aave.240826.nc
#
#How the weights are applied: "conservative" (the default) or "bilinear":
#regrid_method: conservative
#
#CLM only: a file on the target lat/lon grid holding its "landmask", used
#to mask the gridding of land output:
#latlon_file: /some/path/to/latlon_landmask_file.nc

#TEM diagnostics
#---------------
#TEM history file number
Expand Down Expand Up @@ -314,9 +358,9 @@ diag_cam_climo:
# - 14
# - 14

#cam_ts_done:
# - false
# - false
#calc_cam_ts:
# - true
# - true

#cam_ts_save:
# - true
Expand Down Expand Up @@ -396,12 +440,20 @@ diag_cam_baseline_climo:
#Note: Leaving this entry blank will make time series
# end at latest available year.
end_year: 14
#("ts_start_year" and "ts_end_year" are accepted as other names for these.)

#Years the climatology covers, within the time series years above. If
#missing, the climatology covers all of the time series years:
#climo_start_year: 12
#climo_end_year: 14

#Do time series files need to be generated?
#If True, then diagnostics assumes that model files are already time series.
#If False, or if simply not present, then diagnostics will attempt to create
#time series files from history (time-slice) files:
cam_ts_done: false
#Calculate time series files?
#If true, or if simply not present, then diagnostics will create time series
#files from the history (time-slice) files in 'cam_hist_loc'.
#If false, then diagnostics will use the pre-made time series files in
#'cam_ts_loc' instead. (This used to be 'cam_ts_done', which meant the
#opposite; it is still accepted.)
calc_cam_ts: true

#Save interim time series files for baseline run?
#WARNING: This can take up a significant amount of space:
Expand All @@ -414,6 +466,12 @@ diag_cam_baseline_climo:
#Location where time series files are (or will be) stored:
cam_ts_loc: /glade/derecho/scratch/${user}/ADF/${diag_cam_baseline_climo.cam_case_name}/ts

#Native-grid baseline: the same settings as for the test case(s) above
#("mesh_file", "weights_file", "regrid_method", "latlon_file"):
#mesh_file: /glade/campaign/cesm/cesmdata/inputdata/share/meshes/ne30pg3_ESMFmesh_cdf5_c20211018.nc
#weights_file: /glade/campaign/cesm/cesmdata/inputdata/cpl/gridmaps/ne30pg3/map_ne30pg3_TO_fv0.9x1.25_aave.240826.nc
#regrid_method: conservative

#TEM diagnostics
#---------------
#TEM history file number
Expand Down Expand Up @@ -568,7 +626,7 @@ plotting_scripts:
#
#A single entry of "all" processes every variable found in the test case input
#files instead (the fields in the history files, or the variables in the
#pre-made time series files when "cam_ts_done" is true). Variables listed
#pre-made time series files when "calc_cam_ts" is false). Variables listed
#alongside "all" are still added, which is how a derived variable that is in no
#input file (e.g. PRECT) can be asked for:
#
Expand Down Expand Up @@ -616,7 +674,21 @@ diag_var_list:
# - U850
# - V200
# - V850


#Regions for the regional (land) climatology and time series plots
#("regional_climatology", "regional_timeseries"), by name from "regions_file".
#If missing, no regional plots are made:
#region_list:
# - Global
# - CONUS
# - Amazonia

#Variables for the regional plots (at most 15). If missing, a default set of
#land variables is used:
#regional_var_list:
# - TBOT
# - PREC

# Options for multi-case regional contour plots (./plotting/regional_map_multicase.py)
# region_multicase:
# region_spec: [slat, nlat, wlon, elon]
Expand Down
30 changes: 17 additions & 13 deletions config_cam_baseline_example_testENSO.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,13 @@ diag_cam_climo:
# end at latest available year.
end_year: 44

#Do time series files exist?
#If True, then diagnostics assumes that model files are already time series.
#If False, or if simply not present, then diagnostics will attempt to create
#time series files from history (time-slice) files:
cam_ts_done: false
#Calculate time series files?
#If true, or if simply not present, then diagnostics will create time series
#files from the history (time-slice) files in 'cam_hist_loc'.
#If false, then diagnostics will use the pre-made time series files in
#'cam_ts_loc' instead. (This used to be 'cam_ts_done', which meant the
#opposite; it is still accepted.)
calc_cam_ts: true

#Save interim time series files?
#WARNING: This can take up a significant amount of space,
Expand Down Expand Up @@ -244,9 +246,9 @@ diag_cam_climo:
# - 14
# - 14

#cam_ts_done:
# - false
# - false
#calc_cam_ts:
# - true
# - true

#cam_ts_save:
# - true
Expand Down Expand Up @@ -327,11 +329,13 @@ diag_cam_baseline_climo:
# end at latest available year.
end_year: 14

#Do time series files need to be generated?
#If True, then diagnostics assumes that model files are already time series.
#If False, or if simply not present, then diagnostics will attempt to create
#time series files from history (time-slice) files:
cam_ts_done: false
#Calculate time series files?
#If true, or if simply not present, then diagnostics will create time series
#files from the history (time-slice) files in 'cam_hist_loc'.
#If false, then diagnostics will use the pre-made time series files in
#'cam_ts_loc' instead. (This used to be 'cam_ts_done', which meant the
#opposite; it is still accepted.)
calc_cam_ts: true

#Save interim time series files for baseline run?
#WARNING: This can take up a significant amount of space:
Expand Down
Loading
Loading