<div dir="ltr">
<div>Dear Ehsan,<br><br></div>As far as I know, xarray with cfgrib is
the best option with grib files while working in Python
(<a href="https://xarray.pydata.org/en/stable/examples/ERA5-GRIB-example.html" target="_blank">https://xarray.pydata.org/en/stable/examples/ERA5-GRIB-example.html</a>).
Just like the NCL collection of meteorological examples, xarray
documentation also gives many examples. Another option is Metpy (<a href="https://www.unidata.ucar.edu/blogs/developer/en/entry/metpy-mondays-135-reading-grib">https://www.unidata.ucar.edu/blogs/developer/en/entry/metpy-mondays-135-reading-grib</a>), which
also depends on xarray and cfgrib and vice-versa. I hope it helps.
</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 11, 2022 at 12:15 AM Ehsan Taghizadeh via ncl-talk <<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="font-family:bookman old style,new york,times,serif;font-size:16px"><div dir="ltr">Hi,</div><div dir="ltr">I want to know what is the best module in python to work (plot, cross-section, extract data) with GIRB(2) files, especially GFS files?<br></div><div dir="ltr">It seems cfgrib is a routine module for this job, but I think it has its difficulties. I'll be thankful if someone refers me to some python scripts related to GFS files.</div><div dir="ltr"><div><div dir="ltr" style="color:rgb(0,0,0);font-family:"bookman old style","new york",times,serif;font-size:16px">However, NCL has a unique collection of scripts for meteorology. I hope to find something like that for python.<br></div></div></div><div dir="ltr"><div><div dir="ltr" style="color:rgb(0,0,0);font-family:"bookman old style","new york",times,serif;font-size:16px"><div dir="ltr">Maybe my question should not be asked in this group, but I'll be thankful if I could have any help.</div><div><br></div></div></div></div><div dir="ltr"><i><font size="2">Sincerely,</font></i></div><div dir="ltr"><i><font size="2">Ehsan Taghizde</font></i></div></div></div>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@mailman.ucar.edu" target="_blank">ncl-talk@mailman.ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="https://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">https://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div><br clear="all"><br>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div>Thanks and best regards,<br><span style="font-family:arial,sans-serif"><span style="color:rgb(11,83,148)"></span></span></div><span style="font-family:monospace"><span style="color:rgb(11,83,148)"><b><span style="font-family:arial,sans-serif">Krishnakumar AP</span></b></span></span><div> </div></div></div></div></div>