String Lookup failed for name "lead_time" #1797
-
In my point stat configuration file, I have lead_time under the forecast block. When MET runs, I get the above error. What would cause that? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@craigrj my guess would be that it's an issue with how the "lead_time" setting is formatted. For example, running this command:
Reproduces that warning message:
Note that the "lead_time" should be specified as a string, with double-quotes around. Rerunning that way, the warning message goes away:
Put simply, the lead_time should be defined as a string rather than a number. Can you confirm that that was the source of the problem, and specifying it as a string solves it? |
Beta Was this translation helpful? Give feedback.
-
That was it - Thanks
…-----Original Message-----
From: johnhg ***@***.***>
Sent: Monday, September 12, 2022 11:02 AM
To: dtcenter/METplus ***@***.***>
Cc: CRAIG, ROBERT J GS-12 USAF ACC 16 WS/WXD ***@***.***>; Mention ***@***.***>
Subject: [URL Verdict: Neutral][Non-DoD Source] Re: [dtcenter/METplus] String Lookup failed for name "lead_time" (Discussion #1797)
@craigrj <https://github.com/craigrj> my guess would be that it's an issue with how the "lead_time" setting is formatted.
For example, running this command:
plot_data_plane wrfprs_ruc13_12.tm00_G212 plot.ps 'name="TMP"; level="P500"; lead_time=12;'
Reproduces that warning message:
WARNING: Dictionary::lookup_string() -> string lookup failed for name "lead_time"
Note that the "lead_time" should be specified as a string, with double-quotes around. Rerunning that way, the warning message goes away:
plot_data_plane wrfprs_ruc13_12.tm00_G212 plot.ps 'name="TMP"; level="P500"; lead_time="12";'
Put simply, the lead_time should be defined as a string rather than a number.
Can you confirm that that was the source of the problem, and specifying it as a string solves it?
—
Reply to this email directly, view it on GitHub <#1797 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AMV2KFQT75EH3XMJ3EVPW23V55HV3ANCNFSM6AAAAAAQKR6CQI> .
You are receiving this because you were mentioned. <https://github.com/notifications/beacon/AMV2KFUMXGAMTMPBQ6TDZ2DV55HV3A5CNFSM6AAAAAAQKR6CQKWGG33NNVSW45C7OR4XAZNRIRUXGY3VONZWS33OINXW23LFNZ2KUY3PNVWWK3TUL5UWJTQAG5M7K.gif> Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
@craigrj my guess would be that it's an issue with how the "lead_time" setting is formatted.
For example, running this command:
Reproduces that warning message:
Note that the "lead_time" should be specified as a string, with double-quotes around. Rerunning that way, the warning message goes away:
Put simply, the lead_time should be defined as a string rather than a number.
Can you confirm that that was the source of the pr…