ocmw.calval.xtrackReader module¶
Tools for loading XTrack harmonic data and identifying points that lie within a model domain for surface elevation Cal/Val.
Test whether a point is inside the model domain extent |
|
Test whether a point is inside the model domain polygon |
|
Convert lat/lon to easting/northing |
|
Get tidal constituent name |
|
Extract the XTrack data values |
|
Load the XTrack data from netCDF into a data dictionary. |
|
Identify the XTrack record points that lie within the model domain extent |
|
Identify the XTrack record points that lie within the model domain polygon |
Data loader for XTRACK netCDF4 dat files
Version: 0.0 Author: C.P. Old
History: 28 January 2020 - Initial code creation and testing
- ocmw.calval.xtrackReader.isInDomain(east, north, domain)[source]¶
Test whether a point is inside the model domain extent
- ocmw.calval.xtrackReader.isInPolygon(east, north, polygon)[source]¶
Test whether a point is inside the model domain polygon
- ocmw.calval.xtrackReader.latlon2utm(lat, lon, zone=30, region='N')[source]¶
Convert lat/lon to easting/northing
- ocmw.calval.xtrackReader.loadVars(ncfile)[source]¶
Load the XTrack data from netCDF into a data dictionary.