Description Usage Format Details
A sample raster to use in the examples
1 |
An object of class list
of length 8.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.