-
Notifications
You must be signed in to change notification settings - Fork 32
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
Wrong activity_id warning (should be error?), etc.. #553
Comments
Also the wording in the warning should be corrected: "will be" -> "needs to be" |
Rather than create another issue. Here's another message treated as a warning, but might be an Error: ! In function: _CV_checkParentExpID ESC[1;31;47m!!!!!!!!!!!!!!!!!!!!!!!!! |
@sashakames thanks for this, the first is a problem, we should not allow incorrect For the second, it’s perfectly valid for an @taylor13 correct? |
I should mention this is with v3.5.0. I'm seeing a different error now (checking Ron's UA MCM data) that I haven't with whichever old version, but maybe I'll open a separate issue for that... |
More problem examples that should be caught: CMIP6/CFMIP/BCC/BCC-CSM2-MR/amip/r1i1p1f1/AERmon/od550aer/gn/v20190801/od550aer_AERmon_BCC-CSM2-MR_amip_r1i1p1f1_gn_197901-201412.nc In this case the directory structure incorrectly has CMIP for the activity id, otherwise fine: |
@sashakames how are these errors occurring? Surely the PrePARE checking would fail with these errors? |
Could be result of an old bug. In the FIO case, it looks like they completely misconfigured CMOR. The path vs global attributes really aught to be checked as they may have specified the path correctly and that would indicate that they had a misconfiguration. Thanks for taking this Chris @mauzey1 - I think its essential we can state with confidence that PrePARE will not let bad data get through. All the example files should be rejected. I also have the UA ssp126 data with the error available. |
although not the same, this is not an error. (We recommend the labels be the same whenever that makes sense, but we don't require it, and sometimes it would be inappropriate.)
|
I ran prepare on ssp126 (ScenarioMIP). The activity_id global attribute was mistakenly CMIP. Should PrePARE exit with an error in this case? Otherwise sites may publish these files.
ESC[1;34;47m!!!!!!!!!!!!!!!!!!!!!!!!!
!
! Warning: Your input attribute "activity_id" with value
! "CMIP" will be replaced with value "ScenarioMIP"
! as defined for experiment_id "ssp126".
!
! See Control Vocabulary JSON file.(/usr/local/cmip6-cmor-tables/Tables/CMIP6_CV.json)
!
!
!!!!!!!!!!!!!!!!!!!!!!!!!ESC[0m
The text was updated successfully, but these errors were encountered: