Projections - SCECcode/ucvm GitHub Wiki

An important UCVM function is to work with geo-referenced datasets in multiple projections. It does this by collecting projection information about each registered model.

User inputs, lon, lat, dep are assumed to use spherical lat,lon coordinates based on the WGS84 ellipsoid.

Input points are then converted into the native projection of the model. The model is queried, and return values are converted back into sperical lat,lon in WGS84.

Use of UTM Projection

Southern California models including CVM-S and CVM-H are defined in UTM Zone 11 project.

Use of Proj4 library

UCVMC uses an third party, open-source, C-language library, called Proj4 to perform conversion between projections. The following is an example of how to initiatlize a proj4 projection object:

proj = pyproj.Proj(proj='utm', zone=11, ellps='WGS84