API#
Data#
|
Post process input experiment |
|
Loads CMIP6 GCM dataset based on input criteria. |
|
Load historical or future GCM into one dataset. |
|
Open ERA5 daily data for one or more variables for period 1979-2021 |
Convert a Dataset's calendar to the "standard calendar" |
|
Converts longitude values to (-180, 180) |
Downscaling Methods#
BCSD#
Returns spatial anomalies Calculate the seasonal cycle (12 timesteps) spatial anomaly associated with aggregating the fine_obs to a given coarsened scale and then reinterpolating it back to the original spatial resolution. |
|
Fit bcsd model on prepared CMIP data with obs at corresponding spatial scale. |
|
Downscale the bias-corrected data (fit_and_predict results) by interpolating and then adding the spatial anomalies back in. |
|
|
Add the spatial anomalies back into the interpolated fine scale dataset. |
GARD#
Coarsen up obs and then interpolate it back to the original finescale grid. |
|
Prepare inputs (e.g. normalize), use them to fit a GARD model based upon specified parameters and then use that fitted model to make a prediction. |
|
Read spatial-temporally correlated random fields on file and subset into the correct spatial/temporal domain according to model_output. |
|
|
Based on input, return the corresponding GARD model instance |
|
DEEPSD#
Interpolate obs data to grid specs in |
|
Normalize gcm data based on historical data. |
|
Run inference on normalized gcm data. |
|
Rescale GCM data that has been normalized based on data in obs_path. |
|
Bias correct downscaled data product. |
|
|
Bilinear inperpolate dataset to a global grid with specified step size |
Conservative inperpolate dataset to a global grid with specified spacing |
|
|
Normalize dataset |
MACA#
MACA bias correction task |
|
Task to calculate the epoch trends in MACA. |
|
MACA analog construction |
|
Split dataset into separate regions |
|
Combine regions |
|
Replace epoch trend |
Common Tasks#
Prefect task wrapper for RunParameters |
|
Task to return observation data subset from input parameters. |
|
Prefect task that returns cmip GCM data from input run parameters. |
|
Use rechunker package to adjust chunks of dataset to a form conducive for your processing. |
|
Prefect task to create resampled data. |
|
Retrieve pre-generated regridding weights. |
|
Retrieve pre-generated regridding pyramids weights. |
|
Task to regrid a dataset to target grid. |
|
Task to create a data pyramid from an xarray Dataset |
|
Prefect task to run the analyses on results from a downscaling run. |
|
Prefect task to finalize the downscaling run. |