WRFCAMXv5.1 Files in VERDI

Hello

I’m trying to use VERDI (both 1.5.0 and 2 beta have the same problem) to view a netCDF file from WRFCAMx5.1. VERDI outputs the following message to the standard output/error in my terminal and doesn’t load the file. Please advise. I can provide a copy of the WRFCAMx file if needed.

[zac@d5 d02b]$ /t5/apps/VERDI/VERDI_1.5.0/verdi.sh -f $cwd/camx.2d.d02b.2016116.wrfcamx5.1.ncf
java.lang.NullPointerException
at ucar.nc2.dataset.conv.M3IOConvention.makeZCoordAxis(M3IOConvention.java:190)
at ucar.nc2.dataset.conv.M3IOConvention.constructCoordAxes(M3IOConvention.java:153)
at ucar.nc2.dataset.conv.M3IOConvention.augmentDataset(M3IOConvention.java:95)
at ucar.nc2.dataset.NetcdfDataset.enhance(NetcdfDataset.java:451)
at ucar.nc2.dataset.NetcdfDataset.(NetcdfDataset.java:1437)
at ucar.nc2.dataset.NetcdfDataset.openDataset(NetcdfDataset.java:426)
at ucar.nc2.dataset.NetcdfDataset.acquireDataset(NetcdfDataset.java:515)
at ucar.nc2.dt.grid.GridDataset.open(GridDataset.java:117)
at ucar.nc2.dt.grid.GridDataset.open(GridDataset.java:103)
at anl.verdi.loaders.NetcdfDatasetFactory.openNetcdfGridDataset(NetcdfDatasetFactory.java:220)
at anl.verdi.loaders.NetcdfDatasetFactory.createModels3Datasets(NetcdfDatasetFactory.java:89)
at anl.verdi.loaders.Models3Loader.createDatasets(Models3Loader.java:95)
at anl.verdi.data.DataManager.createDatasets(DataManager.java:107)
at anl.verdi.core.VerdiApplication.loadDataset(VerdiApplication.java:619)
at anl.verdi.commandline.ScriptHandler$2.run(ScriptHandler.java:221)
at anl.verdi.commandline.ScriptHandler.handleOptions(ScriptHandler.java:1650)
at anl.verdi.commandline.ScriptHandler.run(ScriptHandler.java:170)
at anl.verdi.core.VerdiPlugin.run(VerdiPlugin.java:139)
at saf.core.runtime.CorePlugin.runApplicationRunnable(CorePlugin.java:82)
at saf.core.runtime.CorePlugin.run(CorePlugin.java:35)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at saf.core.runtime.Boot.run(Boot.java:143)
at saf.core.runtime.Boot.main(Boot.java:313)

I don’t know about this particular error, but:
a potential workaround is to run M3Tools program camxtom3 to convert the WRFCAMX files to I/O API files, and then run VERDI on the result (another possibility is to use wrftom3 on the original WRF outputs…,)

Hi Zac,

Please try using m3xtract to extract one variable from your file, and if it still has an issue loading into VERDI, please attach the file to this issue. I will share it with the developer to help us fix the issue. The M3IOConvention.java routine is looking for specific variables, and likely not finding what it is expecting.
Alternatively, please follow these readme instructions to upload the full file: camx.2d.d02b.2016116.wrfcamx5.1.ncf to the google drive.