Closed justin-richling closed 1 year ago
@nusbaume I think I've tackled all your suggestions and have run a couple tests. Let me know if anything else needs addressing, thanks!
@nusbaume Last changes are in place if you want to review this again, thanks!
@nusbaume Can you take another look and see if this is all good now. I ran it with your suggested changes and it appears to work as intended for when tem_opts
is included or missing in the config file.
This will calculate TEM files and plots for:
There are two scripts being added,
scripts/averaging/create_TEM_files.py
for reading in h4 history files, calculating TEM variables and creating new netcdf files. Andscripts/plotting/tem.py
for reading in either the newly created netcdf files, or existing TEM netcdf files and plotting.Update
adf_variable_defaults.yaml
with TEM variables, including Obs files and variable names.Update
config_cam_baseline_example.yaml
for TEM scriptsNOTE: If QBO is present, all variables will be calculated, if not, only
uzm
epfy
epfz
vtem
wtem
psitem
andutendepfd
will be calculated.NOTE: If there are different vertical levels between cases, currently the difference plots don't work. I am working towards a vertical and horizontal interpolation for TEM as noted in issue #225