cmip6_downscaling.methods.bcsd.tasks.fit_and_predict

Contents

cmip6_downscaling.methods.bcsd.tasks.fit_and_predict#

cmip6_downscaling.methods.bcsd.tasks.fit_and_predict = <Task: fit_and_predict>[source]#

Fit bcsd model on prepared CMIP data with obs at corresponding spatial scale. Then predict for a set of CMIP data (likely future).

Parameters:
experiment_train_full_time_pathUPath

UPath to experiment training dataset chunked in full time

experiment_predict_full_time_pathUPath

UPath to experiment prediction dataset chunked in full time

coarse_obs_full_time_pathUPath

UPath to coarse observation dataset chunked in full time

run_parametersRunParameters

Prefect run parameters

Returns:
UPath

UPath to prediction results dataset.

Raises:
ValueError

ValueError checking validity of input variables.