python embedding yyerror() #2663
-
Hi, I would like to ask for help in configuring my python embedding for ECMWF forecast data. Here is the log file: Here is the tmp file: Here is my config file: Here is my python script: My python script for embedding works well with WRF and GFS forecast data. But I can't seem to make it work for the ECMWF forecast data. Thank you very much. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Greetings! Thank you for sharing your files. The error you are receiving is due to problems with the METplus wrapper substituting your value for I tried testing various combinations of Python arguments and Can you please try the following and report back:
Hopefully with that additional information we can narrow down what might be happening. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hi, thank you for your response. Here is the updated log file with LOG_LEVEL set to DEBUG: I have double-checked the PointStatConfig_wrapped and I have confirmed that nothing has been modified from the version you provided. But just in case you need it, here's my PointStatConfig_wrapped: Lastly, here's my Final Conf.: While trying to figure out if the data is the one causing this error, I have figured that the shape of the data when it is in GRIB1 format is (451, 601), which implies that the data is in 2D. But when I convert it to netCDF using the ECMWF's grib_to_netcdf tool, the data is now of shape (1, 451, 601). From being defined by just the lat and lon, it is now defined by tp(time, latitude, longitude). I don't know if this can help figure out what the problem is. I just find it weird, since when I try to use the PCPCombine tool, for example, on my WRF fcst data, the dimension of the netCDF file produced is still 2D. I have provided a sample data in palero_data. Again, thank you very much. |
Beta Was this translation helpful? Give feedback.
Hi, I have fixed my level mismatch error by setting the 'hgt' to 0. I think we're done here. You can now close the discussion. Again thank you very much.