View source: R/cv_zone_area_raster.R
cv_zone_area_raster | R Documentation |
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
cv_zone_area_raster()
Returns a terra SpatRaster
object (415 rows x 883 columns x 2 layers) of all Canadian grid locations.
Heba Abdelmoaty Kevin SHook
zone_area_grid <- cv_zone_area_raster()
library(terra)
plot(zone_area_grid)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.