IDL Function Summary

MtkLinearRegressionCalc() Use linear regression to fit data MtkRegressionCoeffCalc() Calculate linear regression coefficients for translating values MtkResampleRegressionCoeff() Resample regression coefficients at each pixel MtkSmoothData() Smooth the given array with a boxcar average MtkUpsampleMask() Upsample a mask by nearest neighbor sampling

Category

IDL Routine Name

Description

Util

MTK_VERSION()

Report the MISR Toolkit version

MTK_ERROR_MESSAGE()

Report error message explanation given a status code

MTK_DATETIME_TO_JULIAN()

Convert date and time (ISO 8601) to Julian date

MTK_JULIAN_TO_DATETIME()

Convert Julian date to date and time (ISO 8601)

FileQuery

MTK_FILE_TYPE()

Retrieves MISR product type of a file

MTK_FILE_LGID()

Retrieves MISR local granule ID (true product name)

MTK_FILE_VERISON()

Retrieves MISR file version

MTK_FILLVALUE_GET()

Retrieves fill value of a file/grid/field

MTK_FILEATTR_LIST()

Lists file attributes of a file

MTK_FILEATTR_GET()

Retrieves file attributes of a file

MTK_GRIDATTR_LIST()

Lists grid attributes of a file/grid

MTK_GRIDATTR_GET()

Retrieves grid attributes of a file/grid

MTK_FIELDATTR_LIST()

Lists attributes of a field

MTK_FIELDATTR_GET()

Retrieves field attributes

MTK_FILE_TO_PATH()

Retrieves path of a file

MTK_FILE_TO_ORBIT()

Retrieves orbit of a file

MTK_FILE_TO_BLOCKRANGE()

Retrieves block range of a file

MTK_FILE_TO_GRIDLIST()

Retrieves grid list of file

MTK_FILE_GRID_TO_FIELDLIST()

Retrieves field list of a file/grid

MTK_FILE_GRID_TO_NATIVE_FIELDLIST()

Retrieves native field list of a file/grid (excludes derived fields)

MTK_FILE_GRID_FIELD_TO_DIMLIST()

Retrieves dimension list of a file/grid/field

MTK_FILE_GRID_FIELD_CHECK()

Checks validity of a file/grid/field

MTK_FILE_GRID_FIELD_TO_DATATYPE()

Retrieves the data type of a file/grid/field

MTK_FILE_GRID_TO_RESOLUTION()

Retrieves resolution of a file/grid

MTK_FILE_COREMETADATA_QUERY()

Query file for core metadata parameter

MTK_FILE_COREMETADATA_GET()

Get parameter from file core metadata

MTK_MAKE_FILENAME()

Constructs a MISR filename from it's components

MTK_FIND_FILELIST()

Searches a directory for MISR file from it's components

MTK_FILE_BLOCK_META_LIST()

Lists block metadata of a file

MTK_FILE_BLOCK_META_FIELD_LIST()

Lists block metadata fields of a file

MTK_FILE_BLOCK_META_FIELD_READ()

Retrieves block metadata fields of a file

MTK_TIME_META_READ()

Retrieves time metadata from L1B2 Ellipsoid file for use with MTK_PIXELTIME()

UnitConv

MTK_DD_TO_DEG_MIN_SEC()

Converts decimal degrees to degrees, minutes, seconds

MTK_DD_TO_DMS()

Converts decimal degrees to packed dms

MTK_DD_TO_RAD()

Converts decimal degrees to radians

MTK_DEG_MIN_SEC_TO_DD()

Converts degrees, minutes, seconds to decimal degrees

MTK_DEG_MIN_SEC_TO_DMS()

Converts degrees, minutes, seconds to packed dms

MTK_DEG_MIN_SEC_TO_RAD()

Converts degrees, minutes, seconds to radians

MTK_DMS_TO_DD()

Converts packed dms to decimal degrees

MTK_DMS_TO_DEG_MIN_SEC()

Converts packed dms to degrees, minutes, seconds

MTK_DMS_TO_RAD()

Converts packed dms to radians

MTK_RAD_TO_DD()

Converts radians to decimal degrees

MTK_RAD_TO_DEG_MIN_SEC()

Converts radians to degrees, minutes, seconds

MTK_RAD_TO_DMS()

Converts radians to packed dms

CoordQuery

MTK_BLS_TO_LATLON()

Converts block/line/sample to lat/lon

MTK_BLS_TO_SOMXY()

Converts block/line/sample to SOM x/y

MTK_LATLON_TO_BLS()

Converts lat/lon to block/line/sample

MTK_SOMXY_TO_BLS()

Converts SOM x/y to block/line/sample

MTK_LATLON_TO_SOMXY()

Converts lat/lon to SOM x/y

MTK_SOMXY_TO_LATLON()

Converts SOM x/y to lat/lon

MTK_PATH_TO_PROJPARAM()

Retrieves MISR projection parameters for a given path

MTK_PATH_BLOCKRANGE_TO_BLOCKCORNERS()

Computes block corner lat/lon coordinates for a path and block range

MTK_PIXEL_TIME()

Computes pixel time given an SOM x/y coordinate and time metadata

MapQuery

MTK_LS_TO_LATLON()

Converts data plane line/sample to lat/lon

MTK_LS_TO_SOMXY()

Converts data plane line/sample to SOM x/y

MTK_LATLON_TO_LS()

Converts lat/lon to data plane line/sample

MTK_SOMXY_TO_LS()

Converts SOM x/y to data plane line/sample

MTK_CREATE_LATLON()

Creates latitudes and longitudes data plane buffers given mapinfo

OrbitPath

MTK_LATLON_TO_PATHLIST()

Retrieves a path list that crosses a given lat/lon

MTK_REGION_TO_PATHLIST()

Retrieves a path list that crosses a given region

MTK_REGION_PATH_TO_BLOCKRANGE()

Retrieves the block range of a given region and path

MTK_ORBIT_TO_PATH()

Retrieves the path of a given orbit

MTK_TIME_TO_ORBIT_PATH()

Retrieves an orbit/path of a given time

MTK_TIMERANGE_TO_ORBITLIST()

Retrieves an orbit list over a given time range

MTK_PATH_TIMERANGE_TO_ORBITLIST()

Retrieves an orbit list over a given path and time range

MTK_ORBIT_TO_TIMERANGE()

Retrieves the time range of a given orbit

SetRegion

MTK_SETREGION_BY_PATH_BLOCKRANGE()

Sets a region by path and block range

MTK_SETREGION_BY_ULC_LRC()

Sets a region by upper left and lower right lat/lon

MTK_SETREGION_BY_LATLON_EXTENT()

Sets a region by center lat/lon and an extent by specifying the units of extent

MTK_SETREGION_BY_PATH_SOM_ULC_LRC()

Sets a region by path and upper left and lower right SOM X/Y

MTK_SNAP_TO_GRID()

Snaps a region to a grid of a given path and resolution

ReadData

MTK_READDATA()

Reads a region of MISR data given file/grid/field and a region

MTK_READBLOCK()

Reads a block of MISR data given file/grid/field and block number

MTK_READBLOCKRANGE()

Reads a block range of MISR data given file/grid/field and start block/end block into a 3D buffer

MTK_READRAW()

Reads a region of MISR data given file/grid/field and a region without unpacking and/or unscaling

WriteData

MTK_WRITE_ENVI_FILE()

Writes an IDL ENVI file given a data buffer

ReProject

MTK_CREATE_GEOGRID()

Creates a regularly spaced geographic 2-D grid

MTK_RESAMPLE_CUBICCONVOLUTION()

Resamples source data at the given coordinates using interpolation by cubic convolution

MTK_RESAMPLE_NEARESTNEIGHBOR()

Performs nearest neighbor interpolation.

MTK_TRANSFORM_COORDINATES()

Transforms latitude/longitude coordinates into line/sample coordinates.

Regression

MTK_APPLY_REGRESSION()

Apply regression to given data

MTK_DOWNSAMPLE()

Downsample data by averaging pixels.

MTK_LINEAR_REGRESSION_CALC()

Use linear regression to fit data.

MTK_REGRESSION_COEFF_CALC()

Calculate linear regression coefficients for translating values.

MTK_RESAMPLE_REGRESSION_COEFF()

Resample regression coefficients at each pixel.

MTK_SMOOTH_DATA()

Smooth the given array with a boxcar average.

MTK_UPSAMPLE_MASK()

Upsample a mask by nearest neighbor sampling.