getRefInfo: Calculate projection and extent from an ARPS netcdf file

Description Usage Arguments Value Author(s) Source References See Also Examples

View source: R/getRefInfo.R

Description

The information of the projection is calculated using by analysing the ARPS netcdf file parameters. Currently only "no_mapping" (default) and "lambert_conformal_conic" (north hemisphere) is supported. getRefInfo provides the missing projection values of an ARPS netCDF file

Usage

1

Arguments

file

is a filname of an ARPS netcdf file

Value

getRefInfo returns the following parameters:

$proj proj4 projection string
$lat central latitude of the data domain
$lon central longitude of the data domain
$dx grid spacing in x direction
$dy grid spacing in y direction
$ext xmin,xmax,ymin,ymax in $proj
$coordx list of x coordinates according to the domain $xcoord
$coordy list of y coordinates according to the domain $ycoord

Author(s)

Chris Reudenbach and Hanna Meyer

Source

Package: peRfectpeak
Type: Package
Version: 0.2
License: GPL (>= 2)
LazyLoad: yes

References

http://giswerk.org/doku.php?id=wac:modeling:arps:intro

See Also

For retrieving variables seederive4dParam.

For calculate thermodynamic variables seecalcMeteoParam.

Examples

1
2
3
4
5
6
#### Example to extract the projection and
 #### calculate the extent coordinates from a ARPS nccdf file

arps.ncfile=system.file("kili.nc", package="aRps")
refInfo=getRefInfo(arps.ncfile)
refInfo

gisma/aRps documentation built on May 17, 2019, 5:27 a.m.