Web Content Display

Web Content Display (CoastWatch User Forum)

The NOAA CoastWatch Forum provides information in several categories.  The information is relevant to CoastWatch products and software (https://coastwatch.noaa.gov)  and vary in technical details.  For questions and issues not addressed here,  start a thread in the appropriate category or contact the CoastWatch HelpDesk (coastwatch.info@noaa.gov).  Please note our Privacy Policy (https://www.noaa.gov/privacy.html) and that this is a public forum.  All information is voluntarily and anonymous submissions are accepted pending review prior to posting. 

Forums

Back

How do I work with SMAP L2B data in HDF5 format?

MS
Michael Soracco, modified 1 Year ago.

How do I work with SMAP L2B data in HDF5 format?

Youngling Posts: 39 Join Date: 8/11/16 Recent Posts

The NetCDF library includes a utility called 'nccopy' that can read and convert HDF-5 datasets.  The SMAP L2B distributed by NASA JPL can be converted by using this utility:

nccopy <h5 infile> <netcdf4 outfile>

nccopy SMAP_L2B_SSS_45521_0230810T015327_R18290_V5.0.h5 SMAP_L2B_SSS_45521_0230810T015327_R18290_V5.0.nc

 

UCAR unidata supports and maintains the NetCDF distribution and programming interfaces for C, C++, Java, Fortran, Python, IDL, MATLAB, R, Ruby, and Perl.  More information can be found at their website (external to NOAA):  https://www.unidata.ucar.edu/software/netcdf/

hdf-5 h5 smap salinity format conversion nccopy