Skip to content

Commit efccc28

Browse files
committed
Merge remote-tracking branch 'upstream/main' into adopt_sphinx_design
* upstream/main: libnetcdf <4.9 pin (SciTools#5242) update cf standard units (SciTools#5244)
2 parents 83af8df + 3e2cfd4 commit efccc28

File tree

9 files changed

+1587
-1199
lines changed

9 files changed

+1587
-1199
lines changed

docs/src/whatsnew/latest.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ This document explains the changes made to Iris for this release
5050
enable lazy computation of rotated wind vector components (:issue:`4934`,
5151
:pull:`4972`)
5252

53+
#. `@ESadek-MO`_ updated to the latest CF Standard Names Table v80
54+
(07 February 2023). (:pull:`5244`)
55+
5356

5457
🐛 Bugs Fixed
5558
=============
@@ -105,7 +108,7 @@ This document explains the changes made to Iris for this release
105108
🔗 Dependencies
106109
===============
107110

108-
#. N/A
111+
#. `@trexfeathers`_ introduced the ``libnetcdf <4.9`` pin. (:pull:`5242`)
109112

110113

111114
📚 Documentation

etc/cf-standard-name-table.xml

Lines changed: 1503 additions & 1125 deletions
Large diffs are not rendered by default.

lib/iris/pandas.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -345,12 +345,13 @@ def as_cubes(
345345
... var_name="longitude",
346346
... value_name="air_temperature"
347347
... )
348+
>>> my_df["longitude"] = my_df["longitude"].infer_objects()
348349
>>> print(my_df)
349-
latitude longitude air_temperature
350-
0 35 0 300
351-
1 25 0 301
352-
2 35 10 302
353-
3 25 10 303
350+
latitude longitude air_temperature
351+
0 35 0 300
352+
1 25 0 301
353+
2 35 10 302
354+
3 25 10 303
354355
>>> my_df = my_df.set_index(["latitude", "longitude"])
355356
>>> my_df = my_df.sort_index()
356357
>>> converted_cube = as_cubes(my_df)[0]

requirements/locks/py310-linux-64.lock

Lines changed: 25 additions & 24 deletions
Large diffs are not rendered by default.

requirements/locks/py38-linux-64.lock

Lines changed: 23 additions & 22 deletions
Large diffs are not rendered by default.

requirements/locks/py39-linux-64.lock

Lines changed: 23 additions & 22 deletions
Large diffs are not rendered by default.

requirements/py310.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ dependencies:
1515
- cf-units >=3.1
1616
- cftime >=1.5
1717
- dask-core >=2022.9.0
18+
- libnetcdf <4.9
1819
- matplotlib >=3.5
1920
- netcdf4
2021
- numpy >=1.19

requirements/py38.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ dependencies:
1515
- cf-units >=3.1
1616
- cftime >=1.5
1717
- dask-core >=2022.9.0
18+
- libnetcdf <4.9
1819
- matplotlib >=3.5
1920
- netcdf4
2021
- numpy >=1.19

requirements/py39.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ dependencies:
1515
- cf-units >=3.1
1616
- cftime >=1.5
1717
- dask-core >=2022.9.0
18+
- libnetcdf <4.9
1819
- matplotlib >=3.5
1920
- netcdf4
2021
- numpy >=1.19

0 commit comments

Comments
 (0)