|
| keys () |
| Returns a list of keys in the registry.
|
|
| items () |
| Returns a list of tuples containing key:item pairs in the registry where the key is the area's identifier and the item is its object.
|
|
| init () |
| Initializer.
|
|
| area (Id) |
| Returns the area instance corresponding with the given identifier.
|
|
| register (A) |
| Registers a new AREA instance.
|
|
| make_tuple (text) |
| Convenience function for converting a text representation of a tuple to a tuple.
|
|
| makearg (parent, id, text, Type=None) |
| Convenience function for creating XML.
|
|
| add (id, description, projection_id, extent, xsize, ysize, xscale, yscale, filename=AREA_REGISTRY) |
| Adds a new area to the registry.
|
|
| remove (id, filename=AREA_REGISTRY) |
| Removes an area from the registry.
|
|
| write (filename=AREA_REGISTRY) |
| Writes the contents of the registry to file.
|
|
| describe (id) |
| Prints an area's characteristics to stdout.
|
|
| llToSc (lonlat, pcs_id) |
| Translates lonlat (as radians) into surface coordinates according to specified pcs_id.
|
|
| MakeCornersFromExtent (id) |
| Calculates the corner coordinates in lon/lat based on an area's extent.
|
|
| MakeAreaFromPolarFiles (files, proj_id='llwgs84', xscale=2000.0, yscale=2000.0) |
| Convenience function that automatically derives a new area from several input ODIM_H5 polar volume or scan files.
|
|
| MakeAreaFromPolarObjects (objects, proj_id='llwgs84', xscale=2000.0, yscale=2000.0) |
| Convenience function that automatically derives a new area from several input ODIM_H5 polar volume or scan objects.
|
|
| MakeSingleAreaFromSCAN (scan, pcsid, xscale, yscale) |
| Helper for defining new areas.
|
|
Copyright (C) 1998 - Swedish Meteorological and Hydrological Institute (SMHI)
This file is part of RAVE.
RAVE is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
RAVE is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with RAVE. If not, see <http://www.gnu.org/licenses/>.
Lib.rave_area.MakeAreaFromPolarFiles |
( |
| files, |
|
|
| proj_id = 'llwgs84', |
|
|
| xscale = 2000.0, |
|
|
| yscale = 2000.0 ) |
Convenience function that automatically derives a new area from several input ODIM_H5 polar volume or scan files.
Mandatory single input file will give an area for that single site. If more files are given, the derived area will represent the coverage of all these radars. Depending on the characteristics of the given projection, different radars will determine the north, south, east, and west edges of the derived area.
- Parameters
-
files | List of file strings of input ODIM_H5 files |
proj_id | identifier string of the projection to use for this area |
xscale | float Horizontal X-dimension resolution in projection-specific units (commonly meters)
|
yscale | float Horizontal Y-dimension resolution in projection-specific units (commonly meters)
|
- Returns
- Don't know
Lib.rave_area.MakeAreaFromPolarObjects |
( |
| objects, |
|
|
| proj_id = 'llwgs84', |
|
|
| xscale = 2000.0, |
|
|
| yscale = 2000.0 ) |
Convenience function that automatically derives a new area from several input ODIM_H5 polar volume or scan objects.
Mandatory single input object will give an area for that single site. If more objects are given, the derived area will represent the coverage of all these radars. Depending on the characteristics of the given projection, different radars will determine the north, south, east, and west edges of the derived area.
- Parameters
-
files | List of polar objects |
proj_id | identifier string of the projection to use for this area |
xscale | float Horizontal X-dimension resolution in projection-specific units (commonly meters)
|
yscale | float Horizontal Y-dimension resolution in projection-specific units (commonly meters)
|
- Returns
- Don't know