Utilities
Common utility functions.
|
Append variable attributes to a given dataset. |
|
Append a timestep to an existing netCDF4 file. |
|
Return a variable if it matches an expected type. |
|
Returns full-level pressures for given half-level pressures. |
|
Return the level thickness given the height array. |
|
Create matching pressure levels and half-levels. |
|
Create matching pressures at full-levels and half-levels. |
|
Squashes the ozone profile upwards or stretches it downwards, with no change to the shape of the profile above the ozone concentration maximum |
|
Compute the ozone volumetric mixing ratio from pressure. |
|
Compute the water vapor volumetric mixing ratio as function of height. |
|
Calculate the fraction of a day. |
|
International Standard Atmosphere (ISA). |
|
Return a copy of a dictionary with a prefix added to every key. |
|
Find first index in arr that falls below given val. |