Commit 2942da57 authored by Cynthia Crowley's avatar Cynthia Crowley

Test not making forcing step

parent c5efd109
Pipeline #74466317 failed with stages
in 19 minutes and 43 seconds
......@@ -38,16 +38,17 @@ def spinup(config, meta_steps):
steps += compute_climate_norms(config)
steps += run_lsm_with_monthly_norms(config, years=100)
forcing_1mo = Step.make_empty()
# forcing_1mo = Step.make_empty()
for yearmon in config.historical_yearmons():
steps += config.observed_data().prep_steps(yearmon=yearmon)
for step in create_forcing_file(config.workspace(), config.observed_data(), yearmon=yearmon, window=1):
forcing_1mo = forcing_1mo.merge(step)
steps += create_tag(name=config.workspace().tag('spinup_1mo_forcing'),
dependencies=forcing_1mo.targets)
forcing_1mo.replace_targets_with_tag_file(config.workspace().tag('spinup_1mo_forcing'))
steps.append(forcing_1mo)
steps += create_forcing_file(config.workspace(), config.observed_data(), yearmon=yearmon, window=1)
# for step in create_forcing_file(config.workspace(), config.observed_data(), yearmon=yearmon, window=1):
# forcing_1mo = forcing_1mo.merge(step)
# steps += create_tag(name=config.workspace().tag('spinup_1mo_forcing'),
# dependencies=forcing_1mo.targets)
# forcing_1mo.replace_targets_with_tag_file(config.workspace().tag('spinup_1mo_forcing'))
# steps.append(forcing_1mo)
#
steps += run_lsm_from_final_norm_state(config)
for month in all_months:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment