dnld.snodas: dnld.snodas

View source: R/dnld.snodas.R

dnld.snodasR Documentation

dnld.snodas

Description

download raw SNODAS data from server, and transform to SWE and Snow Depth rasters

download raw SNODAS data from server, and transform to SWE and Snow Depth rasters

Usage

dnld.snodas(root.dir, cropshape, startdate, enddate)

dnld.snodas(root.dir, cropshape, startdate, enddate)

Arguments

root.dir

path to root directory where subdirectories of .gz files, and SWE, and depth files will be stored

cropshape

path to shapefile to crop SNODAS data to

startdate

character in "YYYY-MM-DD" format of the beginning date to download SNODAS data

enddate

character in "YYYY-MM-DD" format of the beginning date to download SNODAS data

root.dir

path to root directory where subdirectories of .gz files, and SWE, and depth files will be stored

cropshape

path to shapefile to crop SNODAS data to

startdate

character in "YYYY-MM-DD" format of the beginning date to download SNODAS data

enddate

character in "YYYY-MM-DD" format of the beginning date to download SNODAS data

Value

Returns rasters for each day of SWE and Snow Depth saved in sub directories of root.dir

Returns rasters for each day of SWE and Snow Depth saved in sub directories of root.dir


khuggler/Ovis documentation built on Nov. 30, 2023, 7:41 p.m.