mikejohnson51 / climateR

An R 📦 for getting point and gridded climate data by AOI
https://mikejohnson51.github.io/climateR/
MIT License
170 stars 40 forks source link

LOCA Hydrology? #65

Closed mikejohnson51 closed 1 year ago

mikejohnson51 commented 1 year ago

From @sienna-templeman:

Is LOCA hydrology (like evapotranspiration) available in this package, or just the LOCA climatology data? https://gdo-dcp.ucllnl.org/downscaled_cmip_projections/dcpInterface.html#Projections:%20Subset%20Request LOCA CMIP5 Hydrology Daily on this site

mikejohnson51 commented 1 year ago

https://gdo-dcp.ucllnl.org/downscaled_cmip_projections/dcpInterface.html#Projections:%20Complete%20Archives

mikejohnson51 commented 1 year ago

Hi all,

This should be working now!

library(climateR); library(AOI);library(terra)
#> Using GDAL version 3.6.0 which was retracted because it cannot write large GPKG files
#> terra 1.7.9

oo = getLOCA_hydro(AOI       = aoi_get(state = "FL"), 
                   varname   = c("baseflow", "ET"), 
                   startDate = "1990-12-31", endDate = "1991-01-01")

plot(oo$baseflow)


plot(oo$ET)

Created on 2023-02-21 by the reprex package (v2.0.1)