ecmwf / notebook-examples Goto Github PK
View Code? Open in Web Editor NEWExample notebooks showing how to work with ECMWF services and data
License: Apache License 2.0
Example notebooks showing how to work with ECMWF services and data
License: Apache License 2.0
When multiplying the specific humidity data to match the chart value, it is written that you multply by 100000 while it is multplied by 1000 in the code
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]
The MyBinder's url is forwarding to a wrong filepath
(/home/jovya) in jupyter.
I tried the medium-mslp-rain.ipynb notebook with Binder, and when computing the total precipitation between steps 12 24 UTC it returns a TypeError:
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
Cell In[22], line 3
1 tp = (tp_24 - tp_12)
----> 3 tp.ls()
File /srv/conda/envs/notebook/lib/python3.10/site-packages/metview/metviewpy/fieldset.py:774, in Fieldset.ls(self, **kwargs)
773 def ls(self, **kwargs):
--> 774 return self._get_db().ls(**kwargs)
File /srv/conda/envs/notebook/lib/python3.10/site-packages/metview/metviewpy/indexdb.py:465, in FieldsetDb.ls(self, extra_keys, filter, no_print)
463 keys = list(ls_keys)
464 keys.append("_msgIndex1")
--> 465 df = df[keys]
466 df = df.sort_values("_msgIndex1")
467 df = df.rename(columns={"_msgIndex1": "Message"})
TypeError: 'NoneType' object is not subscriptable
Run the notebook with Binder as is.
Latest
Binder
No response
No response
Eurac Research
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.