-
Notifications
You must be signed in to change notification settings - Fork 37
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
how to exclude a model from a relationship confrontation?; OR how to get proper gray values for the overall relationship score? #96
Comments
I can open up a separate issue, if you'd like. Here's the code for the confrontation:
Thanks! |
I think I understand the problem. It is The relationships section of the main overview is not the same as the other sections. I build it up dynamically from relationships that are specified in the configure file. So in the main variable sections, when I synthesize a score for, say, LAI, it is grabbing the scalar Overall Score values and appropriately masks them out if any are nan's. However, in the relationship section, the second level scores are actually components of the overall score. See this table: You will see that the precip score is blank (which means I computed a nan) but it gets synthesized into a 0, not a nan. I believe the fix is to create a check in ComputeOverallScore for if all components are nan, to return nan. |
However, this only partially fixes what appears to be another problem. The bins for the precip are very stretched out and thus the whole discrete distribution lies in a single bin. The culprits are EDv3 and JULES. Look at the precip dataset page, there must be a masking problem in these model files which aren't being properly handled: |
@mcguirepatr Do you have these precip files somewhere I can grab one of them and check locally what is going on? |
Here's one precip file for one model. I will try to upload the others. |
Here is a webpage that has all the models in it (18 of them?) for pr & lai: |
Thanks Patrick. It appears that the ncatted -a _FillValue,pr,c,f,9.96920996838686904677855295210258432e36 SDGVM_S3_pr.nc
ncatted -a _FillValue,pr,c,f,-9999.0 JULES_S3_pr.nc Then you will need to remove the ILAMB temporary netcdf files associated with pr and lai: rm -rf _build/EcosystemandCarbonCycle/LeafAreaIndex/AVH15C1/*EDV3*.nc
rm -rf _build/Forcings/Precipitation/GPCPv2.3/*EDV3*.nc and the same for JULES. Then when you re-run ILAMB it will only recompute these confrontations (but unfortunately replot everything). I still owe you a fix for the 0.0 overall score when all components are nan. I think this should clean up the issues. |
Hi Nathan: We have a model in the ensemble called EDv3, which seems to match the string EDV3 that you suggest I delete build files for. Or is that just a coincidental string match? I think it should be either a NAN or a 0.0 (not sure which), whenever ANY of the components are NAN. Not when ALL of the components are NAN. Or am I misunderstanding something? |
Hi again, Nathan: I guess I didn't look at the geographic plots for pr. I also see now that the pr (solo) plots also have the same problem as the lai-pr relationship plots. Thanks again for figuring this out, and for doing it so quickly. |
Hi again2, Nathan: But we'll see. I am rerunning ILAMB now (after fixing JULES pr & tas), with your suggested shortcut. I am actually rerunning 3 different versions, with 3 different sets of land models. |
Hi Nathan: |
Hi Nathan: Here's the old version, for reference: If you can figure out the remaining issue "for the 0.0 overall score when all/any components are nan", that would be great. Thanks a lot! |
Thanks, Nate! It's working now, thanks to your great help! |
Thanks again for fixing it, Nathan! |
Hi ILAMB'ers:
For models that are missing data, they show gray values for the overall score for a (single-variable) confrontation. This is good.
But for a (two-variable) relationship confrontation, there are two overall scores given for this confrontation.
For example, in the summary plot for the confrontation of
GrossPrimaryProductivity/FLUXCOM
withEvapotranspiration/GLEAMv3.3a
, if evapotranspiration is missing for a given model, but gpp is available for that model, then there will be a gray score in the relationship for that model for evaporation, but not for gpp.I think it should be a gray score for both variables. Or how can I exclude just a single model from this relationship confrontation?
Here's the sample code for this confrontation:
And here is the ILAMB homepage for the run I did:
https://gws-access.jasmin.ac.uk/public/ncas_climate/pmcguire/ILAMB_output_v4_24/GCP_280724c/
Can you help?
Patrick
The text was updated successfully, but these errors were encountered: