libSUFR
a LIBrary of Some Useful Fortran Routines
All Classes Namespaces Files Functions Variables Pages
weather.f90 File Reference

(libSUFR version 0.7.8, revision 407, hash 01069b8, 2025-03-02)

Procedures to deal with weather. More...

Go to the source code of this file.

Modules

module  sufr_weather
 Procedures to deal with weather.
 

Functions/Subroutines

elemental real(double) function sufr_weather::air_pressure (elev, press0)
 Compute the air pressure for a given elevation and pressure at sea level.
 
elemental real(double) function sufr_weather::air_density (press, temp)
 Compute the air density for the given temperature and pressure.
 
elemental real function sufr_weather::air_density_sp (press, temp)
 Compute the air density for the given temperature and pressure, single-precision wrapper for air_density()
 
elemental integer function sufr_weather::beaufort (speed)
 Derive wind "force" on Beaufort scale from wind speed in m/s.
 
elemental real(double) function sufr_weather::dew_point (tempc, rh)
 Compute the dew point from the temperature and relative humidity.
 
elemental real(double) function sufr_weather::water_vapor_saturated_density (tempc)
 Compute the saturated water-vapor density in air for a given temperature.
 

Detailed Description

Procedures to deal with weather.

Definition in file weather.f90.