1.5.1.1.7.1.19. polar2grid.readers.modis_l2 module

The MODIS L2 Reader operates on HDF4 Level 2 files from the MODIS instrument.

These files are created from Level 1b data from the Moderate Resolution Imaging Spectroradiometer (MODIS) instruments on the Aqua and Terra satellites. The reader is designed to work with files created by the IMAPP direct broadcast processing system (file naming conventions such as a1.17006.1855.mod35.hdf), but can support other types of L2 files, including the NASA archived files (file naming conventions such as MOD35_L2.A2017004.1732.005.2017023210017.hdf). The reader can be specified to the polar2grid.sh script by using the reader name modis_l2.

It provides the following products:

Product Name

Description

cloud_mask

Cloud Mask

land_sea_mask

Land Sea Mask

snow_ice_mask

Snow Ice Mask

sst

Sea Surface Temperature

lst

Land Surface Temperature

ndvi

Normalized Difference Vegetation Index

ist

Ice Surface Temperature

inversion_strength

Inversion Strength

inversion_depth

Inversion Depth

ice_concentration

Ice Concentration

ctt

Cloud Top Temperature

tpw

Total Precipitable Water

class polar2grid.readers.modis_l2.ReaderProxy(scn: Scene, user_products: list[str])[source]

Bases: ReaderProxyBase

Provide Polar2Grid-specific information about this reader’s products.

property _aliases: dict[str, DataQuery]
get_all_products() list[str][source]

Get all polar2grid products that could be loaded.

get_default_products() list[str][source]

Get products to load if users hasn’t specified any others.

is_polar2grid_reader: bool = True
polar2grid.readers.modis_l2.add_reader_argument_groups(parser: ArgumentParser, group: _ArgumentGroup | None = None) tuple[_ArgumentGroup | None, _ArgumentGroup | None][source]

Add reader-specific command line arguments to an existing argument parser.

If group is provided then arguments are added to this group. If not, a new group is added to the parser and arguments added to this new group.