1.5.1.1.7.1.14. polar2grid.readers.glm_l2 module

The GLM Level 2 Reader operates on Gridded GLM Level 2 NetCDF files from the GOES-16 (GOES-East) and GOES-17/18 (GOES-West) Geostationary Lightning Mapper (GLM). The GLM L2 reader works off of the input filenames to determine if a file is supported by Geo2Grid. Files usually have the following naming scheme:

OR_GLM-L2-GLMF-M3_G16_s20192701933000_e20192701934000_c20192701934330.nc

These files can be generated by the CSPP Gridded GLM software which depends on the python glmtools library and GLM L2 LCFA inputs. The point data from these inputs is gridded to the ABI full disk, CONUS, or mesoscale sectors. The GLM L2 reader supports the products shown in the table below, but should allow for other products available from the GLM files to be loaded. The GLM L2 reader can be provided to the main geo2grid.sh script using the -r option and the reader name glm_l2.

Product Name

Description

flash_extent_density

Flash Extent Density

group_extent_density

Group Extent Density

flash_centroid_density

Flash Centroid Density

group_centroid_density

Group Centroid Density

average_flash_area

Average Flash Area

minimum_flash_area

Minimum Flash Area

average_group_area

Average Group Area

total_energy

Total Energy

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

Bases: ReaderProxyBase

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

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_geo2grid_reader: bool = True
polar2grid.readers.glm_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.