solar diag time series segfault - package needs variables#1228
solar diag time series segfault - package needs variables#1228kkeene44 merged 1 commit intowrf-model:release-v4.2.1from
Conversation
TYPE: bug fix KEYWORDS: process_time_series, solar, segfault SOURCE: Franciano Puhales () and internal DESCRIPTION OF CHANGES: When using time series with the solar diagnostic option activated, the model segfaults. This was traced to missing fields in the package for `tseries_add_solar`: `ts_p_profile` and `ts_w_profile`. ISSUE: Fixes wrf-model#1227 (time series + solar diagnostics = seg fault) LIST OF MODIFIED FILES: modified: Registry.EM_COMMON TESTS CONDUCTED: 1. OP who posted issue will report on status. 2. We'll see what jenkins thinks. RELEASE NOTE: When using time series with the solar diagnostic option activated, the model segfaulted. This problem was traced to missing fields in the package for tseries_add_solar: ts_p_profile and ts_w_profile. The fields have been added to the package list, allowing time series with solar diagnostics.
|
@fpuhales
|
|
Jenkins is OK |
|
I did more tests here, and it seems to fix that issue. This PR fixes the problem. My affiliation is Atmospheric Modelling Group (GruMA), Federal University of Santa Maria (UFSM), Brazil. Thanks, guys. |
dudhia
left a comment
There was a problem hiding this comment.
looks fine - thanks Franciano
|
This fix should be ok. It was Pedro who pointed out that ts_p_profile and ts_w_profile were missing from processing_time_series = 1. I guess when option 2 was added, they didn't add those two at the time. |
|
@davegill This is the proper fix. I think what happened is that when we found the bug with the p and w profiles time series we fixed the bug by adding p and w profiles to the regular time series package. I forgot to extend the fix to the solar diagnostic package like this PR is doing. Any change in the standard time series package should be added to the solar diagnostic package in future developments to avoid this kind of issue. Pedro. |
|
@pedro-jm @weiwangncar @dudhia @fpuhales |
TYPE: bug fix
KEYWORDS: process_time_series, solar, segfault
SOURCE: Franciano Puhales (Federal University of Santa Maria, Brazil) and internal
DESCRIPTION OF CHANGES:
When using time series with the solar diagnostic option activated, the model segfaults.
This was traced to missing fields in the package for
tseries_add_solar:ts_p_profileand
ts_w_profile.ISSUE:
Fixes #1227 (time series + solar diagnostics = seg fault)
LIST OF MODIFIED FILES:
modified: Registry.EM_COMMON
TESTS CONDUCTED:
RELEASE NOTE: When using time series with the solar diagnostic option activated, the model segfaulted. This problem was traced to missing fields in the package for tseries_add_solar: ts_p_profile and ts_w_profile. The missing fields have been added to the package list, allowing the proper functioning of time series with solar diagnostics.