Skip to main content

Class: PlateCarreeRotatedGrid

Defined in: Grid.ts:361

A rotated lat-lon (plate carree) grid with uniform grid spacing

Extends

Constructors

Constructor

new PlateCarreeRotatedGrid(ni, nj, np_lon, np_lat, lon_shift, ll_lon, ll_lat, ur_lon, ur_lat, thin_x?, thin_y?): PlateCarreeRotatedGrid

Defined in: Grid.ts:386

Create a Lambert conformal conic grid

Parameters

ParameterTypeDescription
ninumberThe number of grid points in the i (longitude) direction
njnumberThe number of grid points in the j (latitude) direction
np_lonnumberThe longitude of the north pole for the rotated grid
np_latnumberThe latitude of the north pole for the rotated grid
lon_shiftnumberThe angle around the rotated north pole to shift the central meridian
ll_lonnumberThe longitude of the lower left corner of the grid (on the rotated earth)
ll_latnumberThe latitude of the lower left corner of the grid (on the rotated earth)
ur_lonnumberThe longitude of the upper right corner of the grid (on the rotated earth)
ur_latnumberThe latitude of the upper right corner of the grid (on the rotated earth)
thin_x?number-
thin_y?number-

Returns

PlateCarreeRotatedGrid

Overrides

StructuredGrid.constructor

Properties

PropertyModifierTypeInherited fromDefined in
is_conformalreadonlybooleanStructuredGrid.is_conformalGrid.ts:104
ll_latreadonlynumber-Grid.ts:366
ll_lonreadonlynumber-Grid.ts:365
lon_shiftreadonlynumber-Grid.ts:364
nireadonlynumberStructuredGrid.niGrid.ts:102
njreadonlynumberStructuredGrid.njGrid.ts:103
np_latreadonlynumber-Grid.ts:363
np_lonreadonlynumber-Grid.ts:362
thin_xreadonlynumberStructuredGrid.thin_xGrid.ts:152
thin_yreadonlynumberStructuredGrid.thin_yGrid.ts:153
typereadonlyGridTypeStructuredGrid.typeGrid.ts:101
ur_latreadonlynumber-Grid.ts:368
ur_lonreadonlynumber-Grid.ts:367

Methods

getVectorRotationAtPoint()

getVectorRotationAtPoint(lon, lat): number

Defined in: Grid.ts:138

Parameters

ParameterType
lonnumber
latnumber

Returns

number

Inherited from

StructuredGrid.getVectorRotationAtPoint


getVectorRotationTexture()

getVectorRotationTexture(gl, data_are_earth_relative): object

Defined in: Grid.ts:144

Parameters

ParameterType
glWebGLAnyRenderingContext
data_are_earth_relativeboolean

Returns

object

rotation

rotation: WGLTexture

Inherited from

StructuredGrid.getVectorRotationTexture


getWGLBillboardBuffers()

getWGLBillboardBuffers(gl, thin_fac, max_zoom): Promise<{ texcoords: WGLBuffer; vertices: WGLBuffer; }>

Defined in: Grid.ts:132

Parameters

ParameterType
glWebGLAnyRenderingContext
thin_facnumber
max_zoomnumber

Returns

Promise<{ texcoords: WGLBuffer; vertices: WGLBuffer; }>

Inherited from

StructuredGrid.getWGLBillboardBuffers


getWGLBuffers()

getWGLBuffers(gl): Promise<{ texcoords: WGLBuffer; vertices: WGLBuffer; }>

Defined in: Grid.ts:212

Parameters

ParameterType
glWebGLAnyRenderingContext

Returns

Promise<{ texcoords: WGLBuffer; vertices: WGLBuffer; }>

Inherited from

StructuredGrid.getWGLBuffers


sampleNearestGridPoint()

sampleNearestGridPoint(lon, lat, ary): object

Defined in: Grid.ts:216

Parameters

ParameterType
lonnumber
latnumber
aryTypedArray

Returns

object

sample

sample: number

sample_lat

sample_lat: number

sample_lon

sample_lon: number

Inherited from

StructuredGrid.sampleNearestGridPoint