sample_raster: Sample Raster

Description Usage Format Details

Description

A sample raster to use in the examples

Usage

1

Format

An object of class list of length 8.

Details

Produced by this code

1
2
3
4
5
6
lats <- c(40.375, 50.375)
lons <- c(-141.875, -120.875)
df_info <- rerddap::info("ncdcOisst21Agg_LonPM180")
df <- rerddap::griddap("ncdcOisst21Agg_LonPM180", latitude = lats, longitude = lons, time = c("2021-06-19", "2021-06-19"), fields = "sst")$data
df2 <- data.frame(x=df$lon, y=df$lat, z=df$sst)
ras <- rasterFromXYZ(df2)

UW-Upwelling-Project/imageryML documentation built on Dec. 18, 2021, 6:11 p.m.