53 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
83
views
open ICON model with python
I'm trying to open the precipitation data from the ICON model, but I'm running into some difficulties. Could someone help me?
The data is located here: https://opendata.dwd.de/weather/nwp/icon/grib/00/...
1
vote
2
answers
173
views
ERA5 Pressure Values on Theta Levels
How do I interpret the Pressure values in this dataset? I downloaded ERA5 Potential Vorticity and Pressure(Monthly means of Daily means, analysis, Potential Temperature levels). The pressure data ...
0
votes
1
answer
210
views
How to have Pygrib read in grib2 from website
I am trying to read in this file: https://www.ncei.noaa.gov/data/north-american-mesoscale-model/access/forecast/202212/20221216/nam_218_20221216_1200_000.grb2 for an experiment using Google Colab. The ...
0
votes
1
answer
260
views
GRIB's parameter name not recognized using pygrib in python
I am using Python 3.10. I want to work with a GRIB file and I have some difficulties with one of its parameters.
Here is my code :
GRIB_File_Path = r"/Path to my GRIB file/GRIB file name.grb"...
0
votes
3
answers
214
views
Accessing GRIB2 Local User Section Data (Section 2)
I’m trying to crack into the National Digital Forecast Database (NDFD) GRIB2 files, specifically the unique Local Use Section (in Section 2) containing the Weather Lookup Table unique to each forecast ...
0
votes
0
answers
86
views
pygrib ImportError: symbol not found in flat namespace '_grib_context_set_definitions_path'
I'm encountering an issue with the pygrib library in Python. When I try to import and use pygrib, I receive the following error:
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.11/...
1
vote
1
answer
368
views
Recent Pygrib fail to retrieve ecmwf grib2 data within latitude and longitude
Previously I had no problem to retrieve rainfall data from real-time forecast ecmwf using this command;
1 import pygrib
2 import numpy as np
3
4 source='./10-Download-ECMWF/'
5 grbs = ...
0
votes
0
answers
440
views
Dimensions of C (1801, 3600) are incompatible with X (3600) and/or Y (1801); see help(pcolormesh)
I'm looking to show surface wind data from "https://cds.climate.copernicus.eu/cdsapp#!/dataset/reanalysis-era5-land?tab=form"
I'm using the code below to unpack the data in the form of a ...
0
votes
1
answer
39
views
In the C API for a new scientific library, should I use size_t, unsigned long long, or uint_64t?
I am working on a new API for reading GRIB2 files - part of an open-source library for meteorologists and climate scientists.
The library needs to handle 64-bit integers (in addition to 8, 16, and 32 ...
2
votes
0
answers
308
views
Most efficient way to insert large amount of data (230M entries) in pyspark table
What is the most efficient way to insert large amounts of data that is generated in a python script?
I am retrieving .grib files about weather parameters from several sources. These grib files consist ...
0
votes
1
answer
873
views
How to make a GRIB2 file of a local parameter using wgrib2?
I'm making a GRIB2 file of a locally defined parameter (say, WNISI) using wgrib2.
I followed the instruction below
https://www.cpc.ncep.noaa.gov/products/wesley/wgrib2/user_grib2tables.html
and make a ...
1
vote
0
answers
1k
views
ECCODES build on Windows 11 fails on Generate step
I'm trying to build ECCODES C package (https://confluence.ecmwf.int/display/ECC/ecCodes+installation) on Windows 11 for further usage with python pygrib library also on Windows 11.
What I did:
create ...
1
vote
1
answer
113
views
How to insert items to a tkinter listbox from a grib file without duplicates?
I'm trying to insert items to a tkinter listbox from a grib file using keywords like name or forecastTime, but I don't want the listbox to contain duplicates just one of each value. Couldn't get it to ...
0
votes
1
answer
269
views
type hinting, class inheritance and metaclass with a cython lib
I am using a cython lib called pygrib that doesn't have any associated type hinting.
I would like to extend its features by wrapping, for example the pygrib.open method in some classes with relative ...
1
vote
0
answers
286
views
ImportError: libeccodes-8df36f07.so: cannot open shared object file: No such file or directory
I installed Python Pygrib and eccodes libraries.
When I import Pygrib I get error:
$ python -m pygrib selfcheck
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line ...