1.5.1.1.7.1.21. polar2grid.readers.viirs_edr module

The VIIRS EDR Reader operates on Environmental Data Record (SDR) HDF5 files from the Suomi National Polar-orbiting Partnership’s (NPP), the NOAA20, or the NOAA-21 Visible/Infrared Imager Radiometer Suite (VIIRS) instrument. The VIIRS EDR reader requires filenames to match one of a couple different standard filename schemes used for official products. EDR files are typically named as below:

JRR-AOD_v3r2_npp_s202307230941369_e202307230943011_c202307231038217.nc

The VIIRS EDR reader supports most JPSS Risk Reduction (JRR) enterprise algorithm output. The VIIRS EDR reader can be specified to the polar2grid.sh script with the reader name viirs_edr.

This reader’s default remapping algorithm is ewa for Elliptical Weighted Averaging resampling. The --weight-delta-max parameter set to 40 and the --weight-distance-max parameter set to 2.

Product Name

Description

surf_refl_i01

I01 Surface Reflectance Band

surf_refl_i02

I02 Surface Reflectance Band

surf_refl_i03

I03 Surface Reflectance Band

surf_refl_m01

M01 Surface Reflectance Band

surf_refl_m02

M02 Surface Reflectance Band

surf_refl_m03

M03 Surface Reflectance Band

surf_refl_m04

M04 Surface Reflectance Band

surf_refl_m05

M05 Surface Reflectance Band

surf_refl_m07

M07 Surface Reflectance Band

surf_refl_m08

M08 Surface Reflectance Band

surf_refl_m10

M10 Surface Reflectance Band

surf_refl_m11

M11 Surface Reflectance Band

true_color_surf

Ratio sharpened surface true color

false_color_surf

Ratio sharpened surface false color

NDVI

Normalized Difference Vegetation Index

EVI

Enhanced Vegetation Index

CldTopTemp

Cloud Top Temperature

CldTopHght

Cloud Top Height

AOD550

Aerosol Optical Depth

VLST

Land Surface Temperature

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

Bases: ReaderProxyBase

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

property _aliases: dict[str, DataQuery | str]
get_all_products()[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.viirs_edr._int_or_none(value: str) None | int[source]
polar2grid.readers.viirs_edr.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.