Closed basitkhanNZ closed 5 months ago
Hi Basit, The libraries used for data processing and visualisation in these notebooks were experimental and will need to be updated. I expect to update the notebooks to use the new libraries during the summer this year. They will be using the new earthkit-maps library. You can also have a look at our Metview library for plotting the grib data. Sorry for the inconvenience.
Dear Milanavuckoiv,
Many thanks for the quick response. The information was quite helpful, specially about the metview application. I installed it on my laptop and watched a few webinars on its application and capabilities by ECMWF colleagues. Its amazing utility. The documentation says metview it can also handle netCDF data, i wonder if it has the same capabilities and convenience for netCDF data as it has for Grib data?
Thanks again and I look forward to the updated scripts.
Basit Khan, PhD. Research Scientist Mubadala Arabian Center for Climate and Environmental Sciences (ACCESS). New York University, Abu Dhabi Abu Dhabi 129188, UAE.
On Fri, May 17, 2024 at 6:35 PM milanavuckovic @.***> wrote:
Hi Basit, The libraries used for data processing and visualisation in these notebooks were experimental and will need to be updated. I expect to update the notebooks to use the new libraries during the summer this year. They will be using the new earthkit-maps library https://urldefense.proofpoint.com/v2/url?u=https-3A__earthkit-2Dmaps.readthedocs.io_en_latest_&d=DwMFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=Yu0p84CCeyJypaVijbwiHw&m=HiZTDl4h1iORMgwZLQmsRF3dmkNvf0oFIiBnvFXHFLnucv0EUTdiROr1fgVssaDE&s=uP-qEKyV-u1ykjkyhxKdpvk45oy9SDW-YOETMlNDxeo&e= . You can also have a look at our Metview library https://urldefense.proofpoint.com/v2/url?u=https-3A__metview.readthedocs.io_en_latest_index.html&d=DwMFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=Yu0p84CCeyJypaVijbwiHw&m=HiZTDl4h1iORMgwZLQmsRF3dmkNvf0oFIiBnvFXHFLnucv0EUTdiROr1fgVssaDE&s=qHlDcAJloMIX8w_X4IResWVlb50BkThZ9QkOICLjsiI&e= for plotting the grib data. Sorry for the inconvenience.
— Reply to this email directly, view it on GitHub https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_ecmwf_notebook-2Dexamples_issues_9-23issuecomment-2D2117747589&d=DwMFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=Yu0p84CCeyJypaVijbwiHw&m=HiZTDl4h1iORMgwZLQmsRF3dmkNvf0oFIiBnvFXHFLnucv0EUTdiROr1fgVssaDE&s=BzhDjy6lxGpr6tK_L8HSVtCG6A8D5Wy5i2O9y32eaoc&e=, or unsubscribe https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AFFRZSQ5PPPOZBHKJB7JRSDZCYIRTAVCNFSM6AAAAABH4HULICVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJXG42DONJYHE&d=DwMFaQ&c=slrrB7dE8n7gBJbeO0g-IQ&r=Yu0p84CCeyJypaVijbwiHw&m=HiZTDl4h1iORMgwZLQmsRF3dmkNvf0oFIiBnvFXHFLnucv0EUTdiROr1fgVssaDE&s=fo73AMrToRc2b0_K436yapcRkG6lOPVJiz8Ec4PSOsI&e= . You are receiving this because you authored the thread.Message ID: @.***>
Dear Basit, The capabilities of Metview are indeed not the same for NetCDF data as for GRIB data. I can recommend xarray for the NetCDF data. Best regards, Milana
Hi there, I am a new Bee and trying to plot ecmwf forecast chart using the notebook script for 850 Temp and 500 Geopotential height, but getting the following error. I already downloaded the api key and code runs fine until it comes to the plotting functions where i get the following errors,
Any help in fixing the error will be greatly appreciated.
Cheers, Basit
proj_create: /home/bak8122/.conda/envs/op13/share/proj/proj.db contains DATABASE.LAYOUT.VERSION.MINOR = 2 whereas a number >= 3 is expected. It comes from another PROJ installation. proj_create: no database context specified EXCEPTION in py_coast(): ProjP: cannot create crs to crs from [EPSG:4326] to [+proj=stere +lat_0=90 +lat_ts=90 +lon_0=0 +k=0.994 +x_0=2000000 +y_0=2000000 +datum=WGS84 +units=m] Traceback (most recent call last): File "", line 1, in
File "/home/bak8122/.conda/envs/op13/lib/python3.11/site-packages/magpye/geomap.py", line 607, in show
return self._execute()
^^^^^^^^^^^^^^^
File "/home/bak8122/.conda/envs/op13/lib/python3.11/site-packages/magpye/geomap.py", line 628, in _execute
result = magics.plot((macro.execute() for macro in queue))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/bak8122/.conda/envs/op13/lib/python3.11/site-packages/Magics/macro.py", line 701, in plot
return _plot(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^
File "/home/bak8122/.conda/envs/op13/lib/python3.11/site-packages/Magics/macro.py", line 591, in _plot
_execute(n)
File "/home/bak8122/.conda/envs/op13/lib/python3.11/site-packages/Magics/macro.py", line 569, in _execute
o.execute()
File "/home/bak8122/.conda/envs/op13/lib/python3.11/site-packages/Magics/macro.py", line 290, in execute
self.action()
File "/home/bak8122/.conda/envs/op13/lib/python3.11/site-packages/Magics/Magics.py", line 132, in wrapped
raise MagicsError(char_to_string(err))
Magics.Magics.MagicsError: ProjP: cannot create crs to crs from [EPSG:4326] to [+proj=stere +lat_0=90 +lat_ts=90 +lon_0=0 +k=0.994 +x_0=2000000 +y_0=2000000 +datum=WGS84 +units=m]