-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Is your feature request related to a problem? Please describe.
VERDI is unable to recognize file that was created by Barron Henderson's shape2cmaq utility.
This utility will be available in an upcoming release of CMAQ (5.5). This issue was reported by Manish Soni at UNC IE.
Describe the solution you'd like
Would like VERDI to be able to load either of these files and create tile plot.
I am including two files in the loader_test.zip, one that was generated by the shape2cmaq utility that VERDI can't load.
108US1_IOAPI.nc
A second file that was created by running the I/O API tool m3xtract to convert the above file to one that can be loaded by VERDI.
108US1_IOAPI.ioapi.nc
There is something in the file created by the shape2cmaq utility, that makes VERDI not be able to load the file.
I am attaching the difference in the headers.
sdiff_out.txt
The main difference that I see is that the dimensions of the file created by the shape2cmaq tool has two extra dimensions (tnv and nv). Perhaps this causes the verdi data loaders to not recognize it? If so, we could provide this information to Barron Henderson, or we can modify VERDI to load the dataset with the extra dimensions and to ignore them.
netcdf \108US1_IOAPI {
dimensions:
TSTEP = UNLIMITED ; // (1 currently)
DATE-TIME = 2 ;
VAR = 17 ;
LAY = 1 ;
ROW = 50 ;
COL = 60 ;
tnv = 2 ;
nv = 4 ;
The header information from the two files is contained in the header.tool.txt and header.ioapi.txt files below:
ncdump -h 108US1_IOAPI.nc > header.tool.txt
ncdump -h 108US1_IOAPI.ioapi.nc > header.ioapi.txt
I have also tried to put the contents of the command side by side in the following excel spreadsheet. The order is not exactly the same as what is listed in txt files created using the command above, but I wanted to see the contents side by side as much as possible.
comparison_header_ioapi_vs_tool.xlsx
Once loaded VERDI created a tile plot of the MEX variable from the 108US1_IOAPI.ioapi.nc file :
verdi.sh -f $cwd/108US1_IOAPI.ioapi.nc -s "MEX[1]" -g tile
The error message when trying to load the 108US1_IOAPI.nc is in the gui:
"No loaders are available for the selected file"