help with CF compliance #1107
-
First, I've done my best to edit my metadata in accordance with the CF compliance docs at: Here's an example of my metadata: netcdf cloud_area_fraction.e016.sky_cvr.0000.0.glob144x73.2020051012.daily_avg_12Z_12h { // global attributes: Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
I tried plot_data_plane using the following format: plot_data_plane cloud_area_fraction.e016.sky_cvr.0000.0.glob144x73.2020051012.daily_avg_12Z_12h.nc test.nc 'name="cloud_area_fraction"; level="(0,0,,)";' -v 4 Checking the file in the checker at: https://pumatest.nerc.ac.uk/cgi-bin/cf-checker.pl?cfversion=auto gives me: CHECKING NetCDF FILE: /tmp/27024.ncWARN: Cannot determine CF version from the Conventions attribute; checking against latest CF version: CF-1.8 WARN: (2.6.1): No 'Conventions' attribute present Checking variable: cloud_area_fractionChecking variable: ensWARN: (3.1): units attribute should be present Checking variable: tauChecking variable: latChecking variable: lonChecking variable: timeChecking variable: valid_memINFO: (3.1): No units attribute set. Please consider adding a units attribute for completeness. ERRORS detected: 0 |
Beta Was this translation helpful? Give feedback.
-
It looks like plot_data_plane is interpreting the data as a MET-generated NetCDF file instead of a CF-compliant NetCDF file. I would recommend setting the file type to tell the tool what type of file is being provided.
Let me know if that doesn't work. |
Beta Was this translation helpful? Give feedback.
-
The report of CF -checking:
|
Beta Was this translation helpful? Give feedback.
It looks like plot_data_plane is interpreting the data as a MET-generated NetCDF file instead of a CF-compliant NetCDF file. I would recommend setting the file type to tell the tool what type of file is being provided.
plot_data_plane cloud_area_fraction.e016.sky_cvr.0000.0.glob144x73.2020051012.daily_avg_12Z_12h.nc test.nc 'name="cloud_area_fraction"; level="(0,0,*,*)"; file_type=NETCDF_NCCF;' -v 4
Let me know if that doesn't work.