Skip to content

Fix array initialization to work when lightning is converted to reflectivity at multiple time levels#1

Merged
hu5970 merged 1 commit into
NOAA-GSL:developfrom
AmandaBack-NOAA:develop
Sep 8, 2021
Merged

Fix array initialization to work when lightning is converted to reflectivity at multiple time levels#1
hu5970 merged 1 commit into
NOAA-GSL:developfrom
AmandaBack-NOAA:develop

Conversation

@AmandaBack-NOAA
Copy link
Copy Markdown
Contributor

Because newlvlAll is initialized as DATA, it is initialized once and subsequent calls to this function do not re-initialize it. However, the loop multiplying all entries by 1,000 was running at every invocation so the proxy radar heights were escalating into the millions and beyond and did not overlap with the model domain after the first call. We need to be able to call this function multiple times to use lightning at every tten time level.

…subsequent calls to this function do not re-initialize it. However, that loop was running at every invocation so the proxy radar heights were escalating into the millions and beyond and did not overlap with the model domain after the first call. We need to be able to call this function multiple times to use lightning at every tten time level.
@hu5970 hu5970 merged commit fdcf300 into NOAA-GSL:develop Sep 8, 2021
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