Oceans Melting Greenland (OMG) MBES and SBES Bathymetry L2 V

Oceans Melting Greenland (OMG) MBES and SBES Bathymetry L2 V

Postby fraser » Tue Oct 22, 2019 7:17 am

I'm not having much success reading the .nc files assocaiated with:
https://podaac.jpl.nasa.gov/dataset/OMG ... ES_Gridded
https://podaac.jpl.nasa.gov/dataset/OMG ... ES_Gridded

I tried reading in ArcMap 10.7 but just got a single point instead or raster. Below shows results from using gdalinfo to read header one of the files.

E:\OSGeo4W64\bin>gdalinfo OMG_Bathy_MBES_L2_20160907000000.nc
Warning 1: Recode from UTF-8 to CP_ACP failed with the error: "Invalid argument".
Warning 1: OMG_Bathy_MBES_L2_20160907000000.nc is a netCDF file, but without any dimensions >= 2.
ERROR 4: `OMG_Bathy_MBES_L2_20160907000000.nc' not recognized as a supported file format.
gdalinfo failed - unable to open 'OMG_Bathy_MBES_L2_20160907000000.nc'.

Any suggestions?

David
fraser
 
Posts: 2
Joined: Tue Oct 22, 2019 7:06 am

Re: Oceans Melting Greenland (OMG) MBES and SBES Bathymetry

Postby yiboj » Wed Oct 23, 2019 11:51 am

Hi David,
Thanks for the inquiry.
The OMG MBES and SBES Bathymetry L2 data format is not in GMT configuration, but you still can read it using netCDF reader such as https://github.com/nasa/podaac_tools_and_services/tree/master/read_nc_py. Please try and let us know.
Regards,

-PODAAC DE
yiboj
 
Posts: 109
Joined: Mon Mar 30, 2015 11:22 am

Re: Oceans Melting Greenland (OMG) MBES and SBES Bathymetry

Postby fraser » Wed Oct 23, 2019 3:08 pm

Thank you for your reply!!

I am still not clear why I can't use gdal functions with these .netCDF files. What is GMT configuration? Any suggestions on how to translate these datasets to geotiff.

Best regards,

David
fraser
 
Posts: 2
Joined: Tue Oct 22, 2019 7:06 am

Re: Oceans Melting Greenland (OMG) MBES and SBES Bathymetry

Postby caseyebrayton » Wed Jun 03, 2020 10:16 pm

I am trying to plot data in these .nc files in Python - but I'm a little confused by how the variables are organized. For instance, in OMG_Bathy_MBES_L2_20150725000000.nc, all of the variables have the shape (21698046,). In order to plot this, do I need to reshape the data into an array of x,y,z dimensions? How do I determine what the shape is supposed to be? Many thanks!
caseyebrayton
 
Posts: 1
Joined: Wed Jun 03, 2020 10:06 pm


Return to Data Access

cron