Main Content

matlab.io.hdfeos.sw

Low-level access to HDF-EOS swath files

Description

To use these MATLAB® functions, you must be familiar with the HDF-EOS library C interface. In most cases, the syntax of the MATLAB function is similar to the syntax of the corresponding HDF-EOS library function. The functions are implemented as the namespace matlab.io.hdfeos.sw. To use this namespace, prefix the function name with a namespace path, or use the import function to add the namespace to the current import list, prior to calling the function, for example,

import matlab.io.hdfeos.*
fileId = sw.open(filename);

Access

matlab.io.hdfeos.sw.attachAttach to swath data set
matlab.io.hdfeos.sw.closeClose swath file
matlab.io.hdfeos.sw.createCreate new swath structure
matlab.io.hdfeos.sw.detachDetach from swath
matlab.io.hdfeos.sw.openOpen swath file

Definition

matlab.io.hdfeos.sw.defCompSet grid field compression
matlab.io.hdfeos.sw.defDataFieldDefine new data field within swath
matlab.io.hdfeos.sw.defDimDefine new dimension within swath
matlab.io.hdfeos.sw.defDimMapDefine mapping between geolocation and data dimensions
matlab.io.hdfeos.sw.defGeoFieldDefine new data field within swath

Basic I/O

matlab.io.hdfeos.sw.getFillValueFill value for specified field
matlab.io.hdfeos.sw.readAttrRead swath attribute
matlab.io.hdfeos.sw.readFieldRead data from swath field
matlab.io.hdfeos.sw.setFillValueSet fill value for the specified field
matlab.io.hdfeos.sw.writeAttrWrite swath attribute
matlab.io.hdfeos.sw.writeFieldWrite data to swath field

Inquiry

matlab.io.hdfeos.sw.compInfoCompression information for field
matlab.io.hdfeos.sw.dimInfoSize of dimension
matlab.io.hdfeos.sw.fieldInfoInformation about swath field
matlab.io.hdfeos.sw.geoMapInfoType of dimension mapping for named dimension
matlab.io.hdfeos.sw.idxMapInfoIndexed array of geolocation mapping
matlab.io.hdfeos.sw.inqAttrsNames of swath attributes
matlab.io.hdfeos.sw.inqDataFieldsInformation about geolocation fields
matlab.io.hdfeos.sw.inqDimsInformation about dimensions defined in swath
matlab.io.hdfeos.sw.inqGeoFieldsInformation about geolocation fields
matlab.io.hdfeos.sw.inqIdxMapsInformation about swath indexed geolocation mapping
matlab.io.hdfeos.sw.inqMapsInformation about swath geolocation relations
matlab.io.hdfeos.sw.inqSwathNames of swaths in file
matlab.io.hdfeos.sw.mapInfoOffset and increment of specific geolocation mapping
matlab.io.hdfeos.sw.nEntriesNumber of entries for specific type

Subsetting

matlab.io.hdfeos.sw.defBoxRegionDefine latitude-longitude region for swath
matlab.io.hdfeos.sw.defTimePeriodDefine time period of interest
matlab.io.hdfeos.sw.defVrtRegionSubset on monotonic field or dimension
matlab.io.hdfeos.sw.extractPeriodRead data from subsetted time period
matlab.io.hdfeos.sw.extractRegionRead subsetted region
matlab.io.hdfeos.sw.periodInfoInformation about subsetted period
matlab.io.hdfeos.sw.regionInfoInformation about subsetted region