Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

HydroGeoSphere/Grid Projection

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Figure 5.5 illustrates the degree of distortion that can occur (which is especially severe at the poles) when a spherical geographic coordinate system, such as longitude and latitude, is mapped directly into a planar 2-D coordinate system. The following command can be used to correct the distortion which occurs when modelling large continental scale problems. Project grid projt The projection type to be applied. Currently, the only valid inputs for projt are albers equal-area or lambert azimuthal equal-area, which apply the Albers conical or Lambert azimuthal equal-area projections respectively. For the Albers projection, the following additional data are required: (a) lon0, lat0 The longitude and latitude for the origin of the projection. (b) lat1, lat2 The latitude of the standard parallels. (c) datum The datum used for the projection. Acceptable values for the variable datum are: 1 3 Sphere. 2 3 Ellipsoid (Clarke 1866). For the Lambert projection, the following additional data are required: (a) lon0, lat0 The longitude and latitude for the origin of the projection. (b) datum The datum used for the projection. Acceptable values for the variable datum are: 1 3 Sphere. Transforms the current mesh from a spherical system into a planar 2-D coordinate system. It must be inserted just before the End grid generation command. The following example uses the Project Grid instruction: generate blocks interactive grade x -150 -50 5 1 5 grade y 40 85 5 1 5 grade z 0 10 10 1 10 end project grid albers{{typo help inline|reason=similar to alberts|date=September 2022}} equal-area -100 60 ! projection origin 55 70 ! standard parallels 1 ! 1=sphere, 2=ellipsoid end The grid produced by the Generate blocks interactive instruction is shown on Figure 5.5 and once projected, the grid looks like the one on Figure 5.6: Figure 5.5thumb|left|555px|Figure 5.5: Mesh in Geographic Coordinates (lat/long). The map of Canada is shown as a reference Figure 5.6thumb|right|505px|Figure 5.6: Mesh using Albers Equal-area Projection. The map of Canada now shows much less distortion but the elements are deformed • • • Project 2d grid The input data for this instruction is identical to that required for the Project grid instruction described above. Transforms the current mesh from a planar 2-D coordinate system into a spherical system. It must be inserted just before the End grid generation command. • • • Unproject 2d grid The input data for this instruction is identical to that required for the Project 2d grid instruction described above. Transforms the current mesh from a spherical coordinate system into a planar 2-D system. It must be inserted just before the End grid generation command. • • •