ascii2nc: MET/11.1.0 and METplus/5.1.0 to support multiple variables (Python) #2686
-
Hi, Kindly let me know if something like this exists within MET/METplus. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @pratiman-91! Thanks for your question. The netCDF file for point observations generated by Instead, you can use Python embedding with Let me know if you have further questions! |
Beta Was this translation helpful? Give feedback.
Hi @pratiman-91!
Thanks for your question. The netCDF file for point observations generated by
PB2NC
and other MET tools is specific to MET and very complex in its construction. I would strongly advise against attempting to generate this type of file from scratch.Instead, you can use Python embedding with
ASCII2NC
to get the same result.ASCII2NC
can support multiple variables via thevar
column in the 11-column data you provide from Python. Here is an example use case of using Python embedding withASCII2NC
:https://metplus.readthedocs.io/en/latest/generated/met_tool_wrapper/ASCII2NC/ASCII2NC_python_embedding.html#sphx-glr-generated-met-tool-wrapper-ascii2nc-ascii2nc-python-embedding-py
L…