Make.domain | R Documentation |
This function returns a geodomain
with the
given parameters.
Make.domain(projtype="lambert", clonlat, nxny, dxdy, exey=NULL,
reflat=clonlat[2],reflon=clonlat[1],tilt=0, earth=list(R = 6371229))
Make.domain.RLL(Lon1, Lat1, SPlon, SPlat, SPangle=0, nxny, dxdy)
projtype |
The projection type. Possible values include
|
clonlat |
The c(lon,lat) co-ordinates of the center point of the domain. |
nxny |
The c(nx,ny) number of grid points, i.e. the dimensions of the required grid. |
dxdy |
The resolution in meter. For lat-lon projection, the unit is (decimal) degrees. |
exey |
Extension zone (ref. ALADIN domains). This is only added as an attribute and does not influence the domain itself. But if the domain is later saved in FA format, this is added to the grid dimensions. |
reflat |
The reference latitude of the projection. |
reflon |
The reference longitude of the projection. |
tilt |
Only for rotated mercator. |
Lon1 , Lat1 , SPlon , SPlat , SPangle |
HIRLAM-style rotated LatLon grid: rotation of South Pole. |
earth |
The earth shape description (in proj4 format). Default is a sperical earth . |
A geodomain
domain. Make.RLL
is a special function for Rotated LatLon using the HIRLAM conventions, which require location of the rotated South Pole.
## Not run:
## Not run:
newdom <- Make.domain("lambert",clonlat=c(50.5,3.5),nxny=c(128,128),dxdy=c(8500,8500),reflon=50.5,reflat=3.5)
plot(newdom,add=FALSE)
## End(Not run)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.