dap_crop: Crop DAP file

View source: R/dap.R

dap_cropR Documentation

Crop DAP file

Description

Crop DAP file

Usage

dap_crop(
  URL = NULL,
  catalog = NULL,
  AOI = NULL,
  startDate = NULL,
  endDate = NULL,
  start = NULL,
  end = NULL,
  varname = NULL,
  verbose = TRUE
)

Arguments

URL

local file path or URL

catalog

subset of open.dap catalog

AOI

an sf of SpatVect point or polygon to extract data for

startDate

a start date given as "YYYY-MM-DD" to extract data for

endDate

an end date given as "YYYY-MM-DD" to extract data for

start

for non "dated" items, start can be called by index

end

for non "dated" items, end can be called by index

varname

variable name to extract (e.g. tmin)

verbose

Should dap_summary be printed?

Value

data.frame

See Also

Other dap: .resource_grid(), .resource_time(), climater_dap(), climater_filter(), dap_get(), dap_meta(), dap_summary(), dap_to_local(), dap_xyzv(), dap(), extract_sites(), get_data(), go_get_dap_data(), grid_meta(), make_ext(), make_vect(), merge_across_time(), parse_date(), read_dap_file(), read_ftp(), time_meta(), try_att(), var_to_terra(), variable_meta(), vrt_crop_get()


mikejohnson51/climateR documentation built on March 27, 2024, 5:31 p.m.