Skip to content

Fix for SEVIRI and IASI radiance assimilation with more than one .bufr file#50

Closed
wrf-model wants to merge 1 commit intowrf-model:masterfrom
mkavulich:radiance_2filefix
Closed

Fix for SEVIRI and IASI radiance assimilation with more than one .bufr file#50
wrf-model wants to merge 1 commit intowrf-model:masterfrom
mkavulich:radiance_2filefix

Conversation

@wrf-model
Copy link
Collaborator

TYPE: bug fix

KEYWORDS: WRFDA, SEVIRI, IASI, radiance, bufr

SOURCE: Dr. Thomas Schwitalla, University of Hohenheim

DESCRIPTION OF CHANGES: There were some missing/misplaced deallocation statements in the subroutines for reading IASI and SEVIRI BUFR files which resulted in errors when trying to read two different files of the same observation type for these instruments. The errors were due to attempting to allocate already-allocated arrays. Moving the deallocate statements inside the file read loop, as well as adding a few more necessary deallocation statements, fix this error.

LIST OF MODIFIED FILES:
M var/da/da_radiance/da_read_obs_bufriasi.inc
M var/da/da_radiance/da_read_obs_bufrseviri.inc

TESTS CONDUCTED: Created a new regression test for 4DVAR reading two files at once, both for IASI and SEVIRI. The test failed as expected before the fix, and now passes. For GNU the test runs successfully, for Intel there is still a failure later on in the assimilation process that still needs to be resolved (likely unrelated to this issue). Other tests all still pass as expected.

…to deallocate the dynamically allocated arrays within the bufrfile do loop. Fix from Dr. Thomas Schwitalla, University of Hohenheim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants