Skip to content

Commit b8f9618

Browse files
authored
Merge pull request #340 from blaylockbk/330-waiting-for-numpy-20-support-numpydtype-size-changed-error
Numpy 2.0 support is ready
2 parents d62f86d + a31ca8a commit b8f9618

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

docs/gallery/ecmwf_models/ecmwf.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6679,7 +6679,7 @@
66796679
"source": [
66806680
"---\n",
66816681
"\n",
6682-
"**[Attribution](https://confluence.ecmwf.int/display/UDOC/ECMWF+Open+Data+-+Real+Time#ECMWFOpenDataRealTime-Attribution)**\n",
6682+
"**[Attribution](https://confluence.ecmwf.int/display/DAC/ECMWF+open+data:+real-time+forecasts+from+IFS+and+AIFS#ECMWFopendata:realtimeforecastsfromIFSandAIFS-DownloadASingleFieldWithWgetDownloadasinglefieldwithwget)**\n",
66836683
"\n",
66846684
"- Copyright statement: Copyright \"© 2022 European Centre for Medium-Range Weather Forecasts (ECMWF)\".\n",
66856685
"- Source www.ecmwf.int\n",

docs/user_guide/background/data_sources.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,5 @@ For example, the following are the most popular data sources:
4040

4141
6. ECMWF Open Data
4242
- Herbie source string, `"ecmwf"`
43-
- Website: <https://confluence.ecmwf.int/display/UDOC/ECMWF+Open+Data+-+Real+Time>
43+
- Website: <https://confluence.ecmwf.int/display/DAC/ECMWF+open+data%3A+real-time+forecasts+from+IFS+and+AIFS>
4444
- ECMWF Open Data Program

docs/user_guide/background/grib2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ wgrib2 -s file.grib2 > file.grib2.idx
140140

141141
Generally speaking, index files share the same URL as the GRIB2 file except with `.idx` appended to the end of the file name. If the GRIB2 file `hrrr.t01z.wrfsfcf00.grib2` exists, then the index file would be `hrrr.t01z.wrfsfcf00.grib2.idx`.
142142

143-
> **Note:** This "partial-get/byte-range" method is similar to that used in Wesley Ebisuzaki's [Fast Downloading GRIB](https://www.cpc.ncep.noaa.gov/products/wesley/fast_downloading_grib.html) script. It is also described on ECMWF's example script [here](https://confluence.ecmwf.int/display/UDOC/ECMWF+Open+Data+-+Real+Time#ECMWFOpenDataRealTime-DownloadASingleFieldWithWgetDownloadasinglefieldwithwget).
143+
> **Note:** This "partial-get/byte-range" method is similar to that used in Wesley Ebisuzaki's [Fast Downloading GRIB](https://www.cpc.ncep.noaa.gov/products/wesley/fast_downloading_grib.html) script. It is also described on ECMWF's example script [here](https://confluence.ecmwf.int/display/DAC/ECMWF+open+data:+real-time+forecasts+from+IFS+and+AIFS#ECMWFopendata:realtimeforecastsfromIFSandAIFS-DownloadASingleFieldWithWgetDownloadasinglefieldwithwget).
144144
145145
### What about regional subsetting?
146146

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ keywords = [
3131
]
3232
dependencies = [
3333
"cfgrib",
34-
"numpy<2",
34+
"numpy",
3535
"pandas",
3636
"pygrib",
3737
"requests",

tests/test_latest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66

77

88
def test_HerbieWait():
9-
run = pd.Timestamp("now", tz="utc").replace(tzinfo=None).floor('1h')
9+
run = pd.Timestamp("now", tz="utc").replace(tzinfo=None).floor("1h")
1010
with pytest.raises(TimeoutError):
11-
H = HerbieWait(run, model="rap", product="awp130pgrb", wait_for="5s", check_interval="1s", fxx=0)
11+
H = HerbieWait(run, model="hrrr", wait_for="5s", check_interval="1s", fxx=0)

0 commit comments

Comments
 (0)