You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/news.rst
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,18 @@
1
1
News
2
2
============
3
3
4
+
Release of v0.8.6
5
+
---------------
6
+
7
+
Version 0.8.6 was released on 23rd December 2022. This is a minor releases that tidies up some issues and has some method enhancements.
8
+
9
+
The `regrid` and `to_latlon` methods can now be more efficient for multi-file datasets where all files have the same grid. Previously, the methods identified the grids for all methods. You
10
+
can now set the `one_grid` argument to `True`, which will result in the methods assuming all files have the same grid, and only the first file being checked.
11
+
12
+
There was an issue with multi-file datasets in parallel in Python 3.8 and 3.9. A confusing TypeError was being thrown due to signalling issues by multiprocessing. This gave the impression there was
13
+
a problem with processing when there wasn't one. This problem is now fixed.
text=re.compile("unknown units \[.*\] supplied for grid cell corner .*; proceeding assuming .*!")
725
-
text_find=text.findall("CDO warning: cdo(1) gridarea (warning): unknown units [degrees] supplied for grid cell corner longitudes; proceeding assuming radians!")
733
+
text=re.compile(
734
+
"unknown units \[.*\] supplied for grid cell corner .*; proceeding assuming .*!"
735
+
)
736
+
text_find=text.findall(
737
+
"CDO warning: cdo(1) gridarea (warning): unknown units [degrees] supplied for grid cell corner longitudes; proceeding assuming radians!"
738
+
)
726
739
iflen(text_find) >0:
727
740
message=text_find[0]
728
741
message="Warning for grid area calculations: "+message
729
742
warnings.warn(message)
730
743
warned=True
731
744
732
-
733
-
734
745
## Unsupported array structure message
735
746
if"unsupported"inxand"skipped variable"inx:
736
747
text=re.compile("skipped variable .*!")
737
-
bad_var=text.findall("CDO warning: warning (cdfscanvarattr): time must be the first dimension! unsupported array structure, skipped variable fgco2_reg!")[0].split(" ")[2].replace("!", "")
748
+
bad_var= (
749
+
text.findall(
750
+
"CDO warning: warning (cdfscanvarattr): time must be the first dimension! unsupported array structure, skipped variable fgco2_reg!"
751
+
)[0]
752
+
.split(" ")[2]
753
+
.replace("!", "")
754
+
)
738
755
message=f"This variable's structure is not supported by CDO: {bad_var}. Full CDO warning: {x}"
739
756
warnings.warn(message)
740
757
warned=True
741
758
742
-
743
759
if"warning"inx:
744
-
if (
745
-
"day 29feb not found"
746
-
inx
747
-
):
748
-
warnings.warn(
749
-
"No leap years found in data!"
750
-
)
760
+
if"day 29feb not found"inx:
761
+
warnings.warn("No leap years found in data!")
751
762
warned=True
752
763
753
-
text=re.compile("grids have different types! first grid: .*; second grid: .*")
764
+
text=re.compile(
765
+
"grids have different types! first grid: .*; second grid: .*"
0 commit comments