![if !supportAnnotations]> <![endif]>
h5augjpss [options] [xml file] file
h5augjpss is a tool that will modify a JPSS HDF5 file by adding associated data or metadata or by hiding HDF5 elements in order to make the file accessible to netCDF based applications and tools such as ncdump. The purpose of the tool is to increase access to the JPSS files by netCDF based tools that require compliance with the netCDF Data model.
h5augjpss will add metadata or data to the JPSS HDF5 file for certain options and hide HDF5 elements not supported by netCDF applications for other options.
Options that add data or metadata:
-o2 Adds metadata from JPSS XML product file
-o3 Adds geo-location datasets from file in N_GEO_Ref attribute
Options that hide HDF5 elements unknown to netCDF-4 or netCDF-applications:
-o1 Hides /Data_Products group containing reference types
-o4 Adds links to datasets in /All_Data/É group and hides group
Options to undo hiding of HDF5 elements:
-r1 Reverses hiding of /Data_Products group
-r4 Reverses hiding of /All_Data group structure and removes the
All working options require the name of a JPSS Product file as the final command line argument to the h5augjpss command. If the argument includes a full or relative path to the file, the file in that location will be used. If the argument is the filename only and H5AUGJPSS_DATADIR is defined in the environment, $H5AUGJPSS_DATADIR will be searched for the file followed by the current working directory.
Option -o2 requires the name or path of an JPSS XML product file as the second to last argument, with the locations searched in the same order.
Option -o3 requires a JPSS geo-location product file in the same location as the JPSS product file. The name of this file is specified in an N_GEO_Ref attribute in the JPSS product file.
The default command with no options requires all of the files described above
h5augjpss [xml file] file with no options will execute options -o1, -o2 and -o3.
-h or --help Print a usage message and exit.
-V or --version Print version number and exit.
-on or -ln Execute specified actions. -o options may be run separately or combined in any order:
n=1 Remove the link to the /Data_Products group with objects unknown to netCDF-4, making the group unavailable to the HDF5 library and allowing netCDF-4 based tools and applications to open the file.
n=2 Update JPSS product file with dimensions and other attribute information from the JPSS XML product file according to the specifications in h5augjpss-design.pdf document.
n=3 Update JPSS product file with geo-location information from file specified in its N_GEO_Ref attribute, unless the datasets are already in the file.
n=4 Create links in "/" to datasets in /All_Data/<subgroup> and remove the link to the /All_Data group. This option combined with option 1 removes access to all groups in the file.
-rn Undo actions to hide HDF5 elements in options 1 and 4
n=1 Restore link to the /Data_Products group in the JPSS product file (reverse of option -o1).
n=2 Restore the link to the /All_Data group in the JPSS product file and remove links in "/" to datasets originally in /All_Data/<subgroup> (reverse of option -o4).
For more detailed information regarding this tool, please see the JPSS project documentation at https://support.hdfgroup.org.
Please contact firstname.lastname@example.org with any questions regarding this tool.
h5augjpss -o1 <JPSS product file name>
allows netCDF-4 based tools and applications to open <JPSS product file name>
h5augjpss -o2 <JPSS XML product file name> <JPSS product file name>
adds dimensions and other information from the JPSS XML product file
h5augjpss -o3 <JPSS product file name>
checks JPSS product file for Height, Latitude and Longitude datasets and if not found copies them from the file specified in the product file's N_GEO_Ref attribute
h5augjpss -o4 <JPSS product file name>allows tools such as IDV that don't support HDF5 groups to open the modified file.
h5augjpss -o1 -o2 -o3 -o4 <JPSS XML product file name> <JPSS product file name>
executes all of the four modifications above.
h5augjpss <JPSS XML product file name> <JPSS product file name> executes options -o1 -o2 –o3 as described above.
h5augjpss -r1 <JPSS product file name>
reverses the effect of -o1, replacing the original link to restore access to the /Data_Products group.
h5augjpss -r4 <JPSS product file name>
reverses the effect of -o4, removing the added links and replacing the original link to restore access to the /All_Data group.