formatURL(
base = "https://upwell.pfeg.noaa.gov/erddap/griddap/",
dataset = "jplMURSST41",
fileType = "nc",
vars = "analysed_sst",
ranges = list(
Latitude = c(30, 31),
Longitude = c(-118, -117),
UTC = as.POSIXct(c('2005-01-01 00:00:00', '2005-01-02 00:00:00'), tz='UTC')
),
stride=1,
style = 'erddap'
)
Run the code above in your browser using DataLab