Learn R Programming

xtractomatic (version 3.4.2)

buildURL: Build an ERDDAP URL

Description

Build an ERDDAP URL

Usage

buildURL(dataStruct, lonBounds, latBounds, timeBounds,
  urlbase = "https://coastwatch.pfeg.noaa.gov/erddap/griddap/")

Arguments

dataStruct

A structure describing the dataset from erddapStruct.rda

lonBounds

A list or reals size two of the longitude bounds

latBounds

A list of reals size 2 of the latitude bounds

timeBounds

A list of strings size two of the time bounds

urlbase

A character string giving the base URL of the ERDDAP server

Value

The ERDDAP URL to call