ArtifactPaths
This module provides the file paths for loading the lookup tables and input data for the tests. These artifacts are obtained from "Pincus, R., Mlawer, E. J., Delamere, J., Iacono, M. J., & Pernak, R. (2023). RRTMGP data (Version 1.7) Data set
RRTMGP.ArtifactPaths.get_lookup_filename — Functionget_lookup_filename(optics_type::Symbol, λ::Symbol)This function generates the file names for lookup table files, for a given optics type, for the shortwave and longwave solvers.
:gas,:cloudand:aerosoloptics types are supported for the longwave and shortwave solvers.- The
:gasoption provides the file that is used to load either theLookUpLWorLookUpSWstruct inLookUpTables.jl. - The
:cloudoption provides the file that is used to load theLookUpCldstruct inLookUpTables.jl. - The
:aerosoloption provides the file that is used to load theLookUpAerosolMerrastruct inLookUpTables.jl.
- The
:lw(longwave) and:sw(shortwave) wavelength types are supported.
These artifacts are obtained from "Pincus, R., Mlawer, E. J., Delamere, J., Iacono, M. J., & Pernak, R. (2023). RRTMGP data (Version 1.7) [Data set]. https://github.com/earth-system-radiation/rrtmgp-data"
The file "rrtmgp-sw-inputs-aerosol-optics.nc" overrides the lookup table available from the artifacts. This table corrects an error in the array ordering for the aerosol optics lookup table for the shortwave sea-salt data (‘aerosalttbl’). This file is provided by Michael Iacono at Atmospheric and Environmental Research, via personal communication. This file is expected to replace the currently existing lookup table in the rrtmgp-data repository in their next public release.
RRTMGP.ArtifactPaths.get_input_filename — Functionget_input_filename(problemtype::Symbol, λ::Symbol)This function generates the file names for input files for tests for a given problem type and wavelength type. :gas, and :gas_clouds and :gas_clouds_aerosols problem types are supported. :lw (longwave) and :sw (shortwave) wavelength types are supported.
This file provides data for loading the AtmosphericState struct, the provides the atmospheric conditions for computing optical properties.
- The
:gasoption is used for theclear skytest. - The
:gas_cloudsoption is used for theall skytest. - The
:gas_clouds_aerosolsoption is used for theall sky with aerosolstest.
While these are primarily intended for the tests, some of this input data is also used in ClimaAtmos.jl and is therefore provided here for user's convenience.
These artifacts are obtained from "Pincus, R., Mlawer, E. J., Delamere, J., Iacono, M. J., & Pernak, R. (2023). RRTMGP data (Version 1.7) [Data set]. https://github.com/earth-system-radiation/rrtmgp-data"