4.11. VIIRS EDR Reader

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

4.11.1. Command Line Arguments

usage: polar2grid.sh -r viirs_edr -w <writer> [-h] [--filter-veg | --no-filter-veg] [--aod-qc-filter {None,0,1,2,3}]

4.11.1.1. VIIRS EDR Reader

--filter-veg, --no-filter-veg

Filter vegetation index variables by various quality flags. Default is enabled.

Default: True

--aod-qc-filter

Possible choices: None, 0, 1, 2, 3

Filter AOD550 variable by QCAll variable. Value specifies the maximum quality to include (0-high, 1-medium, 2-low, 3-no retrieval). Defaults to 1 which means medium and high quality data are included.

Default: 1

Examples:

polar2grid.sh -r viirs_edr -w geotiff -f <path to files>/<list of files>

polar2grid.sh -r viirs_edr -w geotiff -h

polar2grid.sh -r viirs_edr -w geotiff --list-products -f ../edr/*.nc

polar2grid.sh -r viirs_edr -w geotiff -p true_color_surf false_color_surf --num-workers 8 -f ../edr/edr/SurfRefl*.nc

polar2grid.sh -r viirs_edr -w hdf5 --add-geolocation --dtype float32 -p NDVI EVI --maximum-weight-mode -f SurfRefl*.nc

polar2grid.sh -r viirs_edr -w awips_tiled -p AOD550 CldTopHght CldTopTemp  -g lcc_conus_300 --sector-id LCC --letters --compress -f /viirs/JRR-AOD_v3r0_j01_s202406051854471_e202406051856116_c202406052204237.nc /viirs/JRR-CloudHeight_v3r0_j01_s202406051854471_e202406051856116_c202406052204237.nc