Due to bug fix of process_modis_swath, previous calculations are invalidated and should be rerun
Ecoregion functions were refactored
Dropped doParallel and foreach dependency: future and future.apply in place
NLCD functions refactoring: two modes (exactextractr and terra based functions; the latter is slower but consumes less memory) and multicore mode by argument nthreads
inst/extdata/nlcd_classes.csv fix: missing category is added (Perennial Ice/Snow)
AQS processing function supports three modes (unique sites, full space-time points, and sparse space-time points [returning rows with available measurement data])
Handling cases with multiple event types. Keeping "Included" only
Bug fix
Tests on Date class is removed or replaced with POSIXt
HMS: empty/missing polygon error due to date sequence generator setting (i.e., sub_hyphen=TRUE)
calc_terraclimate: promise before evaluation error due to introducing geom argument
process_modis_swath: empty subdataset processing, clarified documentation on setting subdataset argument
process_modis_warp: first-phase mosaicking is done with stars::st_mosaic
Most calc_* functions for yearly updated raw data: explicit integer assignment complying to calc_check_time logic
Refactoring
Refactoring #75
Edited calculate_covariates tests
Edited calc_gmted for succinct field names
Edited process_gmted for the raw data compatibility
File name change of nei test data (...17.csv -> ...2017.csv)
Styling roxygen2 and elaborating documentation
check_url_status: HTTP 200 and 206 are accepted
download_koppen_geiger tests: GET (actual download) to HEAD by accepting 206 and tracing the file origin
Ecoregion functions refactoring
process_ecoregion will return a fixed polygon around Tukey's Bridge in Portland, ME (see below; the red dot represents an AQS PM2.5 site)
exactextractr
andterra
based functions; the latter is slower but consumes less memory) and multicore mode by argumentnthreads
inst/extdata/nlcd_classes.csv
fix: missing category is added (Perennial Ice/Snow)"Included"
onlycheck_url_status
: HTTP 200 and 206 are accepteddownload_koppen_geiger
tests: GET (actual download) to HEAD by accepting 206 and tracing the file originprocess_ecoregion
will return a fixed polygon around Tukey's Bridge in Portland, ME (see below; the red dot represents an AQS PM2.5 site)