Processing LSRs #1223
-
Hello! I am currently attempting to process local storm reports from the SPC site (so it is in the correct format for ASCII2NC) using METplus. I have edited the configuration file used for the 5.2.3.2. Point2Grid: Calculate Practically Perfect Probabilities Use Case so that it reflects the timing/data that I'm using. When I try running the python script to run everything, I get an error at the ASCII2NC step. The first time I tried, it didn't recognize the python flag as the ASCII format, so I changed that to 'met_point' and that seemed to fix that issue. However, it now can not find my OBS_INPUT file to be able to actually run the program. I'm attaching the log file and configuration file, but if you need any other files just let me know. Any assistance in figuring out why the program is having issues finding my input data would be greatly appreciated! I've tried reading through the documentation to find the root of where the problem may be but haven't had any luck with it yet. metplus.log.20211022173531.txt Thank you, EDIT: I just tried running the 5.2.3.2. Point2Grid: Calculate Practically Perfect Probabilities Use Case again, but it is coming up with the same error as stated above. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 32 replies
-
Hi Michelle, @georgemccabe is probably the best person to answer this question, but he's out of the office today. I'll take a crack at answering but would like George to review and offer up any additional advice. First, thanks for sending the METplus log and configuration files. That really help diagnose the situation. You're adapting the Calculate Practically Perfect Probabilities use case. I see from the PROCESS_LIST that you're running ASCII2NC, Point2Grid, and RegridDataPlane. Checking in the METplus log file, I see that it errored out before actually calling ascii2nc.
For this use case, you're running ascii2nc using python embedding to serve up point observations. As such, the ascii2nc input format should be "python", not "met_point":
Otherwise, METplus thinks that the python script you're running is an ACTUAL observation input file name, which it is not. And that's the immediate source of this error. But you state "The first time I tried, it didn't recognize the python flag as the ASCII format". I'm not totally sure what that means. I'd recommend taking a step back. Let's first make sure that the python embedding command runs on the command line manually:
Assuming that runs without error, let's try running ascii2nc manually. I'll assume ascii2nc is in your path. If not, just pre-pend the path the path MET's /bin directory:
Do those commands run without error? If they do, please try rerunning using 'ASCII2NC_INPUT_FORMAT = python' and send the resulting METplus log file. |
Beta Was this translation helpful? Give feedback.
Hi Michelle, @georgemccabe is probably the best person to answer this question, but he's out of the office today. I'll take a crack at answering but would like George to review and offer up any additional advice.
First, thanks for sending the METplus log and configuration files. That really help diagnose the situation. You're adapting the Calculate Practically Perfect Probabilities use case. I see from the PROCESS_LIST that you're running ASCII2NC, Point2Grid, and RegridDataPlane.
Checking in the METplus log file, I see that it errored out before actually calling ascii2nc.