Skip to content
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

Missing day of the year in EC-Earth historical tasmin #2599

Open
Karen-A-Garcia opened this issue Nov 29, 2024 · 0 comments
Open

Missing day of the year in EC-Earth historical tasmin #2599

Karen-A-Garcia opened this issue Nov 29, 2024 · 0 comments
Assignees

Comments

@Karen-A-Garcia
Copy link
Contributor

I was preprocessing some data, as I usually am, and it got the following error

esmvalcore.cmor.check.CMORCheckError: There were errors in variable tasmin:
 time: Frequency day does not match input data
  • Project: CMIP6
  • Full dataset description (fill out as many as you know, please):
    • dataset: EC-Earth3
    • experiment: historical
    • mip: CMIP
    • grid: gr
    • version: 20200201
    • variable used: tasmin

I think the issue comes from the fact that the 2002 file for this run is from Jan 1, 2002 to Dec 30, 2002 and all the other files end on Dec 31. Is there a way to easily fix this with masking to in the metadata? Any advice or suggestions would be appreciated!

ncdump for the file in question:

netcdf tasmin_day_EC-Earth3_historical_r13i1p1f1_gr_20020101-20021230 {
dimensions:
        time = UNLIMITED ; // (364 currently)
        lat = 256 ;
        lon = 512 ;
        bnds = 2 ;
variables:
        double time(time) ;
                time:bounds = "time_bnds" ;
                time:units = "days since 1850-01-01 00:00:00" ;
                time:calendar = "proleptic_gregorian" ;
                time:axis = "T" ;
                time:long_name = "time" ;
                time:standard_name = "time" ;
        double time_bnds(time, bnds) ;
        double lat(lat) ;
                lat:bounds = "lat_bnds" ;
                lat:units = "degrees_north" ;
                lat:axis = "Y" ;
                lat:long_name = "Latitude" ;
                lat:standard_name = "latitude" ;
        double lat_bnds(lat, bnds) ;
        double lon(lon) ;
                lon:bounds = "lon_bnds" ;
                lon:units = "degrees_east" ;
                lon:axis = "X" ;
                lon:long_name = "Longitude" ;
                lon:standard_name = "longitude" ;
        double lon_bnds(lon, bnds) ;
        double height ;
                height:units = "m" ;
                height:axis = "Z" ;
                height:positive = "up" ;
                height:long_name = "height" ;
                height:standard_name = "height" ;
        float tasmin(time, lat, lon) ;
                tasmin:standard_name = "air_temperature" ;
                tasmin:long_name = "Daily Minimum Near-Surface Air Temperature" ;
                tasmin:comment = "minimum near-surface (usually, 2 meter) air temperature (add cell_method attribute \'time: min\')" ;
                tasmin:units = "K" ;
                tasmin:cell_methods = "area: mean time: minimum" ;
                tasmin:cell_measures = "area: areacella" ;
                tasmin:history = "2019-07-18T14:08:25Z altered by CMOR: Treated scalar dimension: \'height\'. 2019-07-18T14:08:25Z altered by CMOR: Reordered dimensions, original order: lat lon time." ;
                tasmin:coordinates = "height" ;
                tasmin:missing_value = 1.e+20f ;
                tasmin:_FillValue = 1.e+20f ;

// global attributes:
                :Conventions = "CF-1.7 CMIP-6.2" ;
                :activity_id = "CMIP" ;
                :branch_method = "standard" ;
                :branch_time = 0. ;
                :branch_time_in_child = 0. ;
                :branch_time_in_parent = 0. ;
                :contact = "[email protected]" ;
                :creation_date = "2019-07-18T14:08:27Z" ;
                :data_specs_version = "01.00.30" ;
                :experiment = "all-forcing simulation of the recent past" ;
                :experiment_id = "historical" ;
                :external_variables = "areacella" ;
                :forcing_index = 1 ;
                :frequency = "day" ;
                :further_info_url = "https://furtherinfo.es-doc.org/CMIP6.EC-Earth-Consortium.EC-Earth3.historical.none.r13i1p1f1" ;
                :grid = "T255L91" ;
                :grid_label = "gr" ;
                :initialization_index = 1 ;
                :institution = "AEMET, Spain; BSC, Spain; CNR-ISAC, Italy; DMI, Denmark; ENEA, Italy; FMI, Finland; Geomar, Germany; ICHEC, Ireland; ICTP, Italy; IDL, Portugal; IMAU, The Netherlands; IPMA, Portugal; KIT, Karlsruhe, Germany; KNMI, The Netherlands; Lund University, Sweden; Met Eireann, Ireland; NLeSC, The Netherlands; NTNU, Norway; Oxford University, UK; surfSARA, The Netherlands; SMHI, Sweden; Stockholm University, Sweden; Unite ASTR, Belgium; University College Dublin, Ireland; University of Bergen, Norway; University of Copenhagen, Denmark; University of Helsinki, Finland; University of Santiago de Compostela, Spain; Uppsala University, Sweden; Utrecht University, The Netherlands; Vrije Universiteit Amsterdam, the Netherlands; Wageningen University, The Netherlands. Mailing address: EC-Earth consortium, Rossby Center, Swedish Meteorological and Hydrological Institute/SMHI, SE-601 76 Norrkoping, Sweden" ;
                :institution_id = "EC-Earth-Consortium" ;
                :mip_era = "CMIP6" ;
                :nominal_resolution = "100 km" ;
                :parent_activity_id = "CMIP" ;
                :parent_experiment_id = "piControl" ;
                :parent_mip_era = "CMIP6" ;
                :parent_source_id = "EC-Earth3" ;
                :parent_time_units = "days since 1850-01-01" ;
                :parent_variant_label = "r1i1p1f1" ;
                :physics_index = 1 ;
                :product = "model-output" ;
                :realization_index = 13 ;
                :realm = "atmos" ;
                :source = "EC-Earth3 (2019): \n",
                        "aerosol: none\n",
                        "atmos: IFS cy36r4 (TL255, linearly reduced Gaussian grid equivalent to 512 x 256 longitude/latitude; 91 levels; top level 0.01 hPa)\n",
                        "atmosChem: none\n",
                        "land: HTESSEL (land surface scheme built in IFS)\n",
                        "landIce: none\n",
                        "ocean: NEMO3.6 (ORCA1 tripolar primarily 1 deg with meridional refinement down to 1/3 degree in the tropics; 362 x 292 longitude/latitude; 75 levels; top grid cell 0-1 m)\n",
                        "ocnBgchem: none\n",
                        "seaIce: LIM3" ;
                :source_id = "EC-Earth3" ;
                :source_type = "AOGCM" ;
                :sub_experiment = "none" ;
                :sub_experiment_id = "none" ;
                :table_id = "day" ;
                :table_info = "Creation Date:(09 May 2019) MD5:6e4a07fae2274684a1bb59bbc4c59866" ;
                :title = "EC-Earth3 output prepared for CMIP6" ;
                :variable_id = "tasmin" ;
                :variant_label = "r13i1p1f1" ;
                :license = "CMIP6 model data produced by EC-Earth-Consortium is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License (https://creativecommons.org/licenses). Consult https://pcmdi.llnl.gov/CMIP6/TermsOfUse for terms of use governing CMIP6 output, including citation requirements and proper acknowledgment. Further information about this data, including some limitations, can be found via the further_info_url (recorded as a global attribute in this file) and at http://www.ec-earth.org. The data producers and data providers make no warranty, either express or implied, including, but not limited to, warranties of merchantability and fitness for a particular purpose. All liabilities arising from the supply of the information (including any liability arising in negligence) are excluded to the fullest extent permitted by law." ;
                :cmor_version = "3.4.0" ;
                :tracking_id = "hdl:21.14100/012c8db3-5010-4475-9d4a-767dd4f5a4d3" ;
                :history = "2019-07-18T12:53:58Z ; CMOR rewrote data to be consistent with CMIP6, CF-1.7 CMIP-6.2 and CF standards.;\n",
                        "processed by ece2cmor v1.2.0, git rev. 6b13ef2f722132acea3acf5260ded5b0e06cc7cd\n",
                        "The cmor-fixer version v1.0 script has been applied." ;

Cheers 🍺

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants