cedadev / ccmi-2022

CCMI-2022 - in support of the WMO/UNEP Scientific Assessment of Ozone Depletion Report 2022
BSD 2-Clause "Simplified" License
0 stars 4 forks source link

sfrith ceda-cc report for v2021test #49

Open charliepascoe opened 3 years ago

charliepascoe commented 3 years ago

FAILED:: Required global attributes missing: ['mip_era'] The mip era attribute is given as mip-era with a hyphen, it should be written as mip_era with an underscore. I fixed this in a test file with: ncrename -a global@mip-era,mip_era br_AmonZ_GEOSCCM_refD1_r1i1p1f1_grz_200001-201812.nc

charliepascoe commented 3 years ago

FAILED:: Expected variable [br] not present The variable in each of the data files has been given in upper case but it should be written in lower case. I fixed this in a test file with: ncrename -v BR,br br_AmonZ_GEOSCCM_refD1_r1i1p1f1_grz_200001-201812.nc

charliepascoe commented 3 years ago

FAILED:: missing_value must be present if _FillValue is [br] You need to add an attribute for missing value e.g. br:missing_value = 1.e+20f ; I fixed this in a test file with: ncatted -O -a missing_value,br,c,f,1.e+20 br_AmonZ_GEOSCCM_refD1_r1i1p1f1_grz_200001-201812.nc

charliepascoe commented 3 years ago

FAILED:: Variable [br] has incorrect attributes: cell_methods="time: mean longitude: mean" [correct: "longitude: mean time: mean"] The value of the cell_methods attribute has been written in an order that wasn't expected by the checker. I fixed this in a test file with: ncatted -O -a cell_methods,br,m,c,"longitude: mean time: mean" br_AmonZ_GEOSCCM_refD1_r1i1p1f1_grz_200001-201812.nc