Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get core Dask functionality from cfdm #836

Merged
merged 31 commits into from
Jan 15, 2025
Merged
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
dev
  • Loading branch information
davidhassell committed Nov 4, 2024
commit 047d91526a2ee8b11155fa5b3018b2fc156fb7a0
1 change: 0 additions & 1 deletion cf/cfimplementation.py
Original file line number Diff line number Diff line change
@@ -26,7 +26,6 @@
TiePointIndex,
)
from .data import Data

from .data.array import (
BoundsFromNodesArray,
CellConnectivityArray,
1 change: 1 addition & 0 deletions cf/data/dask_utils.py
Original file line number Diff line number Diff line change
@@ -398,6 +398,7 @@ def cf_rt2dt(a, units):

"""
a = cfdm_asanyarray(a)

if not units.iscalendartime:
return rt2dt(a, units_in=units)

1 change: 0 additions & 1 deletion cf/data/utils.py
Original file line number Diff line number Diff line change
@@ -542,7 +542,6 @@ def parse_weights(d, weights, axis=None):
w = []
shape = d.shape
axes = d._axes

Data = type(d)
for key, value in weights.items():
value = Data.asdata(value)
1 change: 0 additions & 1 deletion cf/read_write/netcdf/netcdfread.py
Original file line number Diff line number Diff line change
@@ -209,7 +209,6 @@ def _create_data(
if data.npartitions == 1:
data._cfa_set_write(True)

# # REVIEW: h5: `_create_data`: control caching
# if (
# not compression_index
# and self.read_vars.get("cache")
1 change: 0 additions & 1 deletion cf/regrid/regrid.py
Original file line number Diff line number Diff line change
@@ -2465,7 +2465,6 @@ def create_esmpy_weights(
from netCDF4 import Dataset

from .. import __version__

from ..data.array.locks import netcdf_lock

if (
You are viewing a condensed version of this merge commit. You can view the full changes here.