pyradtran.era5.recommend_atmosphere

pyradtran.era5.recommend_atmosphere#

pyradtran.era5.recommend_atmosphere(latitude: float, time: str | datetime | datetime64) str[source]#

Suggest the AFGL atmosphere_file shortname for a location/date.

The background atmosphere still supplies everything a radiosonde profile does not: levels above the profile top and all trace gases without a dedicated column. Matching it to the season and latitude band keeps those fill-ins consistent with the profile.

Parameters:
  • latitude (float) – Degrees north.

  • time (str, datetime, or numpy.datetime64) – Date (month decides the season).

Returns:

One of "afglt", "afglms", "afglmw", "afglss", "afglsw" — accepted directly by paths.atmosphere_profile and the atmosphere_file option.

Return type:

str