Skip to content

atmoflux v1.1.0

Choose a tag to compare

@JustinGeoSci JustinGeoSci released this 06 Jun 23:44
· 7 commits to main since this release

atmoflux 1.1.0

Additive feature release. Nothing in the 1.0.0 public API changed, so upgrading
from 1.0.0 requires no code changes.

Highlights

  • Three new modules: solar (solar position and radiation geometry), stability
    (surface-layer stability diagnostics, all non-iterative), and atmosphere
    (standard-atmosphere and barometric helpers).
  • Additional evaporation methods: Priestley-Taylor, Hargreaves, and equilibrium
    evaporation.
  • Expanded temperature, humidity, wind, radiative, turbulent, and balance
    modules with new derived quantities.
  • New AtmosphericState container in core for bundling near-surface state.

New modules

  • solar: day_of_year, solar_declination, hour_angle, solar_zenith_angle,
    solar_elevation, sunset_hour_angle, daylight_hours,
    extraterrestrial_radiation, clear_sky_radiation
  • stability: bulk_richardson_number, obukhov_length, stability_parameter,
    psi_momentum, psi_heat, stability_class
  • atmosphere: scale_height, pressure_at_altitude, hypsometric_thickness,
    density_altitude, standard_atmosphere

New functions in existing modules

  • temperature: wet_bulb_temperature, equivalent_potential_temperature,
    moist_adiabatic_lapse_rate
  • humidity: saturation_vp_ice, specific_humidity_from_dewpoint,
    relative_humidity_from_specific_humidity, precipitable_water
  • wind: wind_components, wind_power_density, roughness_from_canopy,
    displacement_from_canopy
  • radiative: net_longwave_cloud, diffuse_fraction
  • turbulent: surface_shear_stress, aerodynamic_resistance
  • hydro: equilibrium_evaporation, priestley_taylor, hargreaves
  • balance: available_energy, energy_balance_ratio, ground_heat_fraction
  • core: AtmosphericState dataclass

Other changes

  • Minimum supported NumPy raised to >=1.26 (Python >=3.9 unchanged).
  • New shared constants for the solar, evaporation, and standard-atmosphere
    additions.

Install
pip install --upgrade atmoflux