Perform action on "prism data"Source:
pd_get_date() extracts the date from the prism data.
Date is returned in yyyy-mm-dd format. For monthly data, dd is 01 and
for annual data mm is also 01. For normals, an empty character is returned.
pd_get_type() parses the variable from the prism data.
prism_md() is a deprecated function that has been replaced with
pd_to_file() converts prism data to a fully specified .bil file, i.e., the
full path to the file in the prism archive. A warning is posted if the
file does not exist in the local prism archive.
pd_get_name(pd) pd_get_date(pd) pd_get_type(pd) prism_md(f, returnDate = FALSE) pd_to_file(pd)
prism data character vector.
1 or more prism directories name or .bil files.
TRUE or FALSE. If TRUE, an ISO date is returned. By default years will come back with YYYY-01-01 and months as YYYY-MM-01