-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add lat_lon_land set #534
Add lat_lon_land set #534
Conversation
@chengzhuzhang I was worried adding this set might involve complicated changes to The model-vs-model produces the The model-vs-obs does not, however. I think it's just because the observation data isn't present though? I get errors like:
|
[e3sm_diags] | ||
active = True | ||
grid = '180x360_aave' | ||
ref_final_yr = 2014 | ||
ref_start_yr = 1985 | ||
# TODO: this directory is missing OMI-MLS | ||
sets = "lat_lon","zonal_mean_xy","zonal_mean_2d","polar","cosp_histogram","meridional_mean_2d","enso_diags","qbo","diurnal_cycle","annual_cycle_zonal_mean","streamflow", "zonal_mean_2d_stratosphere", "tc_analysis", | ||
sets = "lat_lon","lat_lon_land" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it might be more straightforward to start a new e3sm_diags task for "lat_on_land", for instance the test_data_path needs to be pointed to separate land files. And right now because there aren't many land obs in e3sm_diags. the lat_lon_land is used mostly for model vs model comparison.
Note for self: |
Debugging updates Results so farModel-vs-model continues to work:
Model-vs-obs is partially working. The viewer at least generates now, but only the top plot gets created (and it does not look accurate):
(I moved output as follows)
Debugging process/notes(1) Needed to add I ran (2) Added I was running into the following:
I ran Looking at https://e3sm-project.github.io/e3sm_diags/_build/html/master/defining-parameters.html, it looked like I needed to override that variable list. (That said, I'm confused as to why model-vs-model generated |
Results of latest run:
The (bad) generated plots match between the two though: |
If I replace @tomvothecoder @chengzhuzhang do you know what could cause the above error in |
As for the bad plots, I'm seeing a lot of |
I see a note to myself about properly setting |
In the latest run, for
@chengzhuzhang Should I set these differently to avoid the bad plots above? (only |
For testing purpose, for model vs model run, I think you could point test and ref paths to a same model data directory. |
@chengzhuzhang Well we already know model-vs-model works. It's model-vs-obs that's failing. Are you saying just use the same data for both, but don't set |
Oh, i didn't realize that is for model vs obs, which have problems. I think the metrics looks right, but the contour levels range are too small. Somehow, e3sm_diags is using the contour levels set for a different variable: The QRUNOFF is the only model vs obs variable that is supported in lat lon land for now. We should file an issue in e3sm_diags. And I think land group will mostly rely on ILAMB for model vs obs. Let's prioritize having model vs model working in zppy for now. |
In that case, that is in fact working. Should we mark this done then? I'll file an issue in E3SM Diags for model-vs-obs. |
Sounds good. Could you provide the configuration file to set the model vs model run up? I will test during code review. Thank you! |
@chengzhuzhang Thanks, I'll clean up this PR and run the full test suite, then tag you for final code review. (If you want an early start, you can run the |
@forsyth2 sounds good, I will review once the PR is ready. |
I have all tests passing except the Notably: (2) FLDS has a wildly different plot (Actual, Expected): It occurs to me I haven't run the "c. test final Unified" test-process from https://e3sm-project.github.io/zppy/_build/html/main/dev_guide/release_testing.html to test |
Strangely, the complete_run test passes using Unified 1.9.2, but the bundles test fails there: see #543. (Note I had |
@@ -116,6 +116,7 @@ years = "1850:1854:2", "1850:1854:4", | |||
ref_years = "1850-1851", | |||
reference_data_path = "/lcrc/group/e3sm/ac.forsyth2/zppy_test_complete_run_output/v2.LR.historical_0201/post/atm/180x360_aave/clim" | |||
run_type = "model_vs_model" | |||
sets = "lat_lon","lat_lon_land","zonal_mean_xy","zonal_mean_2d","polar","cosp_histogram","meridional_mean_2d","enso_diags","qbo","diurnal_cycle","annual_cycle_zonal_mean","streamflow", "zonal_mean_2d_stratosphere", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@forsyth2 hi, I'm skimming at this PR to try figure out the problem. It sounds like only one e3sm_diags viewer is created for including both lat_lon and lat_lon_land? I had a comment earlier. We should have a separate task i.e. [[ lnd_monthly_180x360_aave_mvm ]] for the "lat_lon_land" set, because it is more straightforward, for instance this set depends on the the land data paths. (in the implementation here, I don't think the land data are used)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, at the time, I thought that advice was just for model-vs-obs, not model-vs-model since that seemed to be working. So yes, that's a good idea here too. I'll separate them and see if anything changes in the plots. Thanks.
I can't explain the contour level range difference is #534 (comment). But based on my comment here, I don't think the land data are correctly feed in e3sm_diags lat_lon_land set for model vs model. |
I separated the
After looking at the generated viewers, I do suspect that the test errors (differences in FLDS plot and the Taylor Diagrams) were due to the test comparing the actual The I'm going to try running with:
|
It turns out I get the same results using |
@forsyth2 I think first is to make sure the regirdded land data is being read by e3sm_diags. If the land data is read in correctly. The ocean should be masked on plots. |
Replaced by #548. |
Add lat_lon_land set. Resolves #518.