Visualizing DMS and CHLO in VERDI

We have just created a modified ocean file suitable for use with DDM, i.e., we added the DMS and CHLO fields using the recommended Jupyter notebook as per the instructions in the Spatial Allocator tool Manual. The Ocean and Surf files appear to be correct when we look at them in VERDI but we are not able to see the the DMS and CHLO fields. We have done a ncdump of the file and the data appears to be there. How can we visualize these fields to confirm they look reasonable?

Thanks.

Cheers,

David

I had an similar OCEAN file, but I am able to use VERDI to visualize the DMS and CHLO fields, so, I am not able to reproduce your issue exactly.

One suggestion is to use m3xtract to “re-write” the file.

setenv INFILE OCEAN_01_L3m_MC_CHL_chlor_a_12US1.nc

setenv OUTFILE OCEAN_01_L3m_MC_CHL_chlor_a_12US1.extract.nc
m3xtract

Then try to visualize the variables using VERDI.

If you have issues running m3xtract, then I would try using nccopy after checking what kind of file it is

ncdump -k OCEAN_01_L3m_MC_CHL_chlor_a_12US1.nc

Output:

ncdump -k OCEAN_01_L3m_MC_CHL_chlor_a_12US1.nc
netCDF-4 classic model

nccopy -k classic OCEAN_01_L3m_MC_CHL_chlor_a_12US1.nc OCEAN_01_L3m_MC_CHL_chlor_a_12US1.classic.nc


 ncdump -k OCEAN_01_L3m_MC_CHL_chlor_a_12US1.classic.nc
classic

Then re-try the m3xtract command using the converted file from above.

Then re-try visualizing the data using VERDI.

ocean_examples.tar.gz (834.9 KB)

Just for grins, you could use M3Tools program m3stat to check whether your OCEAN file is a legal I/O API file…

Hi Carlie,

Thanks. I will double check just to make sure it is a legal I/O API file.

Cheers,

David