title: CMAQ Dust Emulator
author: Barron H. Henderson
organization: US EPA
last updated: 2025-11-03
github.com/USEPA/CMAQ/emis/emis/DUST_EMIS.F routines and functions converted
| def get_epacmapnorm(spc, freq): | |
| """ | |
| Arguments | |
| --------- | |
| spc : str | |
| choices 'pm25' or 'o3' | |
| freq : str | |
| choices '1h', '24h' (pm-only), '8h' (o3-only), 'mda8' (o3-only) | |
| Returns |
The incomplete spatial coverage of monitors is a good motivation for data fusion. Monitors cover less than 30% of US counties, but more like 70% of the population. This is because dense populations often coincide with sources of polution and, therefore, are better monitored. The precise coverage of monitoring data depends on the period of interest. For example, ozone monitors are often not depolyed during winter.
| """ | |
| # Convert a CMAQ IOAPI File to a GeoTiff | |
| --- | |
| author: Barron H. Henderson | |
| last updated: 2025-09-05 | |
| --- | |
| Demonstrates converting a CMAQ file to a GeoTiff. GeoTiff is useful for ArcGIS or QGIS. |
| __doc__ = """ | |
| # Overview | |
| This example shows how to open High Resolution Rapid Refresh (HRRR) meteorology | |
| "surfaces." These surfaces are slices in vertical space to create single level | |
| maps of variables like temperature, wind speed components, pressure, etc. Each | |
| surface is opened using the Zarr archive described in Amazon's opendata registry | |
| described at https://registry.opendata.aws/noaa-hrrr-pds/. | |
| # Examples |
| __all__ = ['open_griddesc', 'csv2inln', 'templatecsv'] | |
| __doc__ = """ | |
| csv2inln | |
| ======== | |
| This module is meant to help make CMAQ-ready point source emission files from | |
| a CSV file. By default, the emissions are time-independent for a day. However, | |
| a tfactor_utc variable can be supplied to add a diurnal scaling factor. | |
| Prerequisites |
| __version__ = "1.0.0" | |
| __all__ = ['open_remote', 'open_naqfc', 'open_airnow', 'open_airfuse'] | |
| __doc__ = """ | |
| Utility for Comparing AirNow Surfaces | |
| ===================================== | |
| Using AirNow grib2 AQI files as reference. Can compare to NAQFC from NOAA or | |
| the AirFuse from AirNow. For simplicity, NAQFC and AirFuse are converted to | |
| a Nowcast by averaging the last 3 time steps. The Nowcast is then put into AQI | |
| units for comparison. |
| __doc__ = """ | |
| NEI Emission Summary | |
| ==================== | |
| --- | |
| author: Barron H. Henderson | |
| last updated: 2025-04-17 | |
| --- | |
| Simple script to get Criteria or Hazardous Air Pollutants by 60 EIS emission |
| __doc__ = """ | |
| Grid US Census Demographic Profile | |
| ================================== | |
| Produce gridded TIGER Demographic Profile files for a subset of variables in | |
| the an American Community Survey from either a 1-year or 5-year input files. | |
| Requires: | |
| - python>=3.7 | |
| - numpy |