-
I'm trying to use MODE on precipitation data from the GFS and StageIV. I've regridded both datasets to the same 0.5 degree grid and saved them to netcdf files. I've tried to include all the necessary metadata in the netcdf files but I keep running into the error message "Trouble reading observation file." It's unclear to me what this means or how to fix it. Any help would be greatly appreciated. I've shared the relevant netcdf files and my config file to the ftp server. Thank you very much! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi: Both your forecast and observation files are not actually in a format that MET/MODE can read. MET accepts netCDF files that are CF-compliant, output from WRF pinterp, or in MET's own netCDF format. The files you have are closest to CF-compliant. However, MET does not try to read them as a CF compliant file because they lack the global attribute "Conventions" as described in the requirements. MET's default is to read files in MET's own netCDF format which in this case won't work, as your data is not in that format. You can force MET/MODE to try to read them as a CF-compliant netCDF file by setting the following in your configuration file: When I do this, MODE reads the data, but I get the following warnings and information: In this case, you don't have a time variable in either file as described in the above requirements. So, MODE will set all output to use the default time (19790101_000000). If you are planning on running more than one time, the output files from these different times will all be labeled with the default time and will overwrite each other. So, a time would be needed in the files to prevent this from happening. Additionally, it looks like MODE is flipping your grid. I'm not certain whether this is desirable. I ran a test using plot_data_plane to see how MET is reading the data and verify if it is correct. The commands to do that are as follows: Is this what the data should look like? Christina |
Beta Was this translation helpful? Give feedback.
Hi:
Both your forecast and observation files are not actually in a format that MET/MODE can read. MET accepts netCDF files that are CF-compliant, output from WRF pinterp, or in MET's own netCDF format. The files you have are closest to CF-compliant. However, MET does not try to read them as a CF compliant file because they lack the global attribute "Conventions" as described in the requirements. MET's default is to read files in MET's own netCDF format which in this case won't work, as your data is not in that format.
You can force MET/MODE to try to read them as a CF-compliant netCDF file by setting the following in your configuration file:
MODE_FCST_FILE_TYPE = NETCDF_NCCF
MODE_OBS_FILE…