Learn R Programming

rerddap (version 0.3.0)

cache_details: Get details of cached files

Description

Get details of cached files

Usage

cache_details(x, cache_path = "~/.rerddap")

Arguments

x
File names
cache_path
path to cached files

References

http://upwell.pfeg.noaa.gov/erddap/index.html

See Also

cache_list, cache_delete

Examples

Run this code
# List details for all cached files
cache_details()

# List details for specific files
# cache_details("243b4b41e19444515986ccf9cafbb1e9.nc")
# cache_details("476ea03d8d246d81f2de02bd40524adb.csv")

# For a list or character vector of files
ff <- cache_list()[[1]]
cache_details(ff[1:3])
cache_details(as.list(ff[1:3]))

# List details from output of griddap or tabledap
## tabledap
(table_res <- tabledap('erdCalCOFIfshsiz'))
cache_details(table_res)

## griddap
(grid_res <- griddap('noaa_esrl_027d_0fb5_5d38',
 time = c('2012-01-01','2012-06-12'),
 latitude = c(21, 18),
 longitude = c(-80, -75)
))
cache_details(grid_res)

Run the code above in your browser using DataLab