-
Notifications
You must be signed in to change notification settings - Fork 33
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
[Bug]: CDAT migration: various KeyError
for longitude bounds
#884
Comments
@tomvothecoder This problem only occurred in this model (climo) vs obs (specify years). I ran another case for model (climo) vs obs (climo) without error. It is possible that the longitude bounds of some time-series observational data are unconventional, and xcdat spatial averaging won't operate on those, but in that case the model data should create figure...Need to troubleshooting more. |
i have |
Updating to
|
I think I found the root cause. In the code block below, the climatology is being calculated from reference time series datasets. e3sm_diags/e3sm_diags/driver/utils/dataset_xr.py Lines 390 to 394 in 43d2df7
The This is now fixed here. |
What happened?
When testing the run script that specify one year for eamxx data. I ran into multiple
KeyError
for different variables. Examples:KeyError: 'lon_bnds'
KeyError: 'bounds_lon'
KeyError: 'longitude_bnds'
It is Spooky!
What did you expect to happen? Are there are possible answers you came across?
No response
Minimal Complete Verifiable Example (MVCE)
EXAMPLE:
Relevant log output
https://portal.nersc.gov/cfs/e3sm/zhang40/tests/eamxx/eamxx_decadal_1996_1031_edv3/prov/e3sm_diags_run.log
Anything else we need to know?
No response
Environment
latest cdat-migration-fy24 branch
The text was updated successfully, but these errors were encountered: