|
SASHE_VAP
1.0
|
Data Structures | |
| struct | OzoneCell |
| Ozone Grid Cell. More... | |
| struct | Ozone |
| Ozone Data. More... | |
Macros | |
| #define | DEG_TO_RAD(a) (a * 0.017453292519943) |
| Convert degrees to radians. | |
Functions | |
| void | ozone_free (Ozone *ozone) |
| Free an Ozone Structure. | |
| Ozone * | ozone_init (size_t nlats, float *lats, size_t nlons, float *lons, float **o3rhos, float fwhm, float max_dist, int min_cells, Ozone *ozone) |
| Initialize an Ozone Structure. | |
| float | ozone_get_columnar_density (Ozone *ozone, float lat, float lon) |
| Get the ozone columnar density at a specific location. | |
| void ozone_free | ( | Ozone * | ozone | ) |
Free an Ozone Structure.
| ozone | - pointer to the Ozone structure. |
Definition at line 65 of file ozone_utils.c.
| float ozone_get_columnar_density | ( | Ozone * | ozone, |
| float | lat, | ||
| float | lon | ||
| ) |
Get the ozone columnar density at a specific location.
| ozone | pointer to the Ozone structure. |
| lat | latitude of location in degrees. |
| lon | longitude of location in degrees. |
| ozone | columnar density |
| -1 | if not enough points were available |
Definition at line 181 of file ozone_utils.c.
| Ozone* ozone_init | ( | size_t | nlats, |
| float * | lats, | ||
| size_t | nlons, | ||
| float * | lons, | ||
| float ** | o3rhos, | ||
| float | fwhm, | ||
| float | max_dist, | ||
| int | min_cells, | ||
| Ozone * | ozone | ||
| ) |
Initialize an Ozone Structure.
The memory used by the returned structure is dynamically allocated and must be freed using the ozone_free() function.
| nlats | - the number of latitudes |
| lats | - latitude of center of grid cells in degrees |
| nlons | - the number of longitudes |
| lons | - longitudes of center of grid cells in degrees |
| o3rhos | - ozone columnar densities in Dobson Units [lon][lat] |
| fwhm | - full width half maximum in degrees |
| max_dist | - maximum distance to use in degrees |
| min_cells | - minimum number of grid cells required |
| ozone | - pointer to the Ozone structure, or NULL to create a new Ozone structure. |
Definition at line 98 of file ozone_utils.c.