Critical Errors
The following errors are considered as CRITICAL and will cause a CMOR code to stop.
- Calling a CMOR function before running cmor_setup
- NetCDF version is neither 3.6.3 or 4.1 or greater
- Udunits could not parse units
- Incompatible units
- Udunits could not create a converter
- Logfile could not be open for writing
- Output directory does not exist
- Output directory is not a directory
- User does not have read/write privileges on the output directory
- Wrong value for error_mode
- wrong value for netCDF mode
- error reading udunits system
- NetCDF could not set variable attribute
- Dataset does not have one of the required attributes (required attributes can be defined in the MIP table)
- Required global attribute is missing
- If CMIP5 project: source attributes does not start with model_id attribute.
- Forcing dataset attribute is not valid
- Leap_year defined with invalid leap_month
- Invalid leap month (<1 or >12)
- Leap month defined but no leap year
- Negative realization number
- Zfactor variable not defined when needed
- Zfactor defined w/o values and NOT time dependent.
- Variable has axis defined with formula terms depending on axis that are not part of the variable
- NetCDF error when creating zfactor variable
- NetCDF Error defining compression parameters
- Calling cmor_write with an invalid variable id
- Could not create path structure
- “variable id” contains a “_” or a ‘-‘ this means bad MIP table.
- “file_suffix” contains a “_”
- Could not rename the file you’re trying to append to.
- Trying to write an “Associated variable” before the variable itself
- Output file exists and you’re not in append/replace mode
- NetCDF Error opening file for appending
- NetCDF could not find time dimension in a file onto which you want to append
- NetCDF could not figure out the length time dimension in a file onto which you want to append
- NetCDF could not find your variable while appending to a file
- NetCDF could not find time dimension in the variable onto which you’re trying to append
- NetCDF could not find time bounds in the variable onto which you’re trying to append
- NetCDF mode got corrupted.
- NetCDF error creating file
- NetCDF error putting file in definition mode
- NetCDF error writing file global attribute
- NetCDF error creating dimension in file
- NetCDF error creating variable
- NetCDF error writing variable attribute
- NetCDF error setting chunking parameters
- NetCDF error leaving definition mode
- Hybrid coordinate, could not find “a” coefficient
- Hybrid coordinate, could not find “b” coefficient
- Hybrid coordinate, could not find “a_bnds” coefficient
- Hybrid coordinate, could not find “b_bnds” coefficient
- Hybrid coordinate, could not find “p0” coefficient
- Hybrid coordinate, could not find “ap” coefficient
- Hybrid coordinate, could not find “ap_bnds” coefficient
- Hybrid coordinate, could not find “sigma” coefficient
- Hybrid coordinate, could not find “sigma_bnds” coefficient
- NetCDF writing error
- NetCDF error closing file
- Could not rename temporary file to its final name.
- Cdms could not convert time values for calendar.
- Variable does not have all required attributes (cmor_variable)
- Reference variable is defined with “positive”, user did not pass it to cmor_variable
- Could not allocate memory for zfactor elements
- Udunits error freeing units
- Udunits error freeing converter
- Could not allocate memory for zfactor_bounds
- Calling cmor_variable before reading in a MIP table
- Too many variable defined (see appendix on CMOR limits)
- Could not find variable in MIP table
- Wrong parameter “positive” passed
- No “positive” parameter passed to cmor_variable and it is required for this variable
- Variable defined with too many (not enough) dimensions
- Variable defined with axis that should not be on this variable
- Variable defined within existing axis (wrong axis_id)
- Defining variable with axes defined in a MIP table that is not the current one.
- Defining a variable with too many axes (see annex on CMOR limits)
- Defining variable with axes ids that are not valid.
- Defining variable with grid id that is not valid.
- Defining a variable with dimensions that are not part of the MIP table (except for var named “latitude” and “longitude”, since they could have grid axes defined in another MIP table)
- Trying to retrieve length of time for a variable defined w/o time length
- Trying to retrieve variable shape into an array of wrong rank (Fortran only really)
- Calling cmor_write with time values for a timeless variable
- Cannot allocate memory for temporary array to write
- Invalid absolute mean for data written (lower or greater by one order of magintudethan what the MIP table allows)
- Calling cmor_write with time values when they have already been defined with cmor_axis when creating time axis
- Cannot allocate memory to store time values
- Cannot allocate memory to store time bounds values
- Time values are not monotonic
- Calling cmor_write w/o time values when no values were defined via cmor_axis when creating time axis
- Time values already written in file
- Time axis units do not contain “since” word (cmor_axis)
- Invalid data type for time values (ok are ‘f’,’l’,’i’,’d’)
- Time values are not within time bounds
- Non monotonic time bounds
- Longitude axis spread over 360 degrees.
- Overlapping bound values (except for climatological data)
- bounds and axis values are not stored in the same order
- requested value for axis not present
- approximate time axis interval much greater (>20%) than the one defined in your MIP table
- calling cmor_axis before loading a MIP table
- too many axes defined (see appendix on CMOR limits)
- could not find reference axis name in current MIP table
- output axis needs to be standard_hybrid_sigma and input axis is not one of : “standard_hybrid_sigma”, “alternate_hybrid_sigma”, “standard_sigma”
- MIP table requires to convert axis to unknown type
- requested “region” not present on axis
- axis (with bounds) values are in invalid type (valid are: ‘f’,’d’,’l’,’i’)
- requested values already checked but stored internally, could be bad user cleanup
- MIP table defined for version of CMOR greater than the library you’re using
- too many experiments defined in MIP table (see appendix on CMOR limits)
- cmor_set_table used with invalid table_id
- MIP table has too many axes defined in it (see appendix on CMOR limits)
- MIP table has too many variables defined in it (see appendix on CMOR limits)
- MIP table has too many mappings defined in it (see appendix on CMOR limits)
- MIP table defines the same mapping twice
- grid mapping has too many parameters (see appendix on CMOR limits)
- grid has different number of axes than what grid_mapping prescribes.
- Could not find all the axes required by grid_mapping
- Call to cmor_grid with axis that are not created yet via cmor_axis
- Too many grids defined (see appendix on cmor_limits)
- Call to cmor_grid w/o latitude array
- Call to cmor_grid w/o longitude array