cv_zone_area_raster {CMIP6VisR} | R Documentation |
Gets zones and areas for all grid locations
Description
Uses the data frame zone_grid_df
. Returns a raster containing two layers, the zone (1-9) and the area (km^2^) for
each grid location in the CMIP6 files. The raster raster returned has 415 rows (latitudes in 0.1 degrees)
and 883 columns (longitudes in 0.1 degrees). The zone number is used to determine the file(s) to read in
for computing the basin mean precipitation statistics for a given Canadian hydrometric basin. The
Usage
cv_zone_area_raster()
Value
Returns a terra SpatRaster
object (415 rows x 883 columns x 2 layers) of all Canadian grid locations.
Author(s)
Heba Abdelmoaty Kevin SHook
Examples
zone_area_grid <- cv_zone_area_raster()
library(terra)
plot(zone_area_grid)
[Package CMIP6VisR version 1.0.0 Index]