attrib.oceancolor: Read attributes from an HDF file

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/attrib.oceancolor.R

Description

This function reads all the attributes or metadata from an HDF5 file

Usage

1

Arguments

file

name of an HDF file

Details

This function relies on the h5r package, therefore only HDF5 files can be read. It has been tested on files with data from Aqua Modis and SeaWiFS sensors, downloaded from the oceancolor web page (http://oceancolor.gsfc.nasa.gov/cgi/l3). These are available as HDF4 files, but they were converted to HDF5 with h4h5tools (http://www.hdfgroup.org/h4toh5)

Value

A named list with the attributes of the HDF file

Author(s)

Héctor Villalobos

References

OceanColor Web (2013-10-30). Ocean Level-3 SMI Data Products document http://oceancolor.gsfc.nasa.gov/DOCS/Ocean_Level-3_SMI_Products.pdf. OceanColor Documents. Retrieved on 2013-10-30.

See Also

getH5Attribute, listH5Attributes

Examples

1
2
3
4
5
## Not run: 

attrib.oceancolor("A20131052013112.L3m_8D_NSST_4.h5")

## End(Not run)

r-forge/satin documentation built on Feb. 18, 2022, 2:39 a.m.