NOAA-GFDL / GFDL_atmos_cubed_sphere

The GFDL atmos_cubed_sphere dynamical core code
Other
56 stars 118 forks source link

Perturbation/Increments for cold starts #340

Closed pjpegion closed 4 months ago

pjpegion commented 5 months ago

Description

Currently the model can only read in an increment file if initializing with a restart file. This functionality is also used to read in ensemble perturbations, and should also work for a external initial condition. The solution is to move the call to read_da_inc outside the if external_ic/restart logic.

Fixes # (issue)

FV3 is not able to apply DA increment when cold staring #339

How Has This Been Tested?

So far, I have run limited regression tests on gaea, and tested that the perturbations are being read in during a cold start. The regression tests pass.

Checklist:

Please check all whether they apply or not

laurenchilutti commented 5 months ago

Do you have a suggestion on from EMC or the UFS community can review this?

lharris4 commented 5 months ago

@pjpegion @laurenchilutti This looks OK to me. There is no reason we can't use this method to apply to arbitrary initialization methods (restart, external_ic, or ideal).

jkbk2004 commented 4 months ago

All tests are done ok at https://github.com/ufs-community/ufs-weather-model/pull/2269. @bensonr @laurenchilutti can you merge this pr?