csubich

Results 13 comments of csubich

It's two separate files. The first (`hellosub.F90`) contains at its end: ```fortran subroutine hello2 & #include "hellobody.inc" ``` while the second (`hellobody.inc`) contains ```fortran (i) integer :: i print *,...

Reading [/cartopy/blob/main/lib/cartopy/crs.py#L438, ](https://github.com/SciTools/cartopy/blob/616fa198dae53193f73623d2a08c051b55115b98/lib/cartopy/crs.py#L438), `transform_vectors` makes the assumption that the transformation is a rotation in 2D Cartesian space, where the numerical vector magnitude must be preserved. This assumption is not physical....

This is more than just a question of projection coordinates. `transform_vectors` , as a transformation between vector spaces (projection or otherwise), should be linear in its components, but it's not....

Context of the chunk within the larger super-array would also be interesting, since it could allow some special-case encoders that apply data transforms along the way.

I've since restructured the code to go through Dask Futures directly submitted to a distributed (albeit threaded, rather than multiprocess) scheduler, rather than have separate execution threads independently call .compute()....

Since this is otherwise a benign error, would there be any harm in rewriting the test as `if (is_python_shutting_down is not None and not is_python_shutting_down())`?

That's potentially useful, how is your package's compatibility with graphcast?

As an addendum, reading a zipstore via URL-style spec does work (`xr.open_zarr('zip::test.zarr.zip')`), but writing a zipstore with that format fails. This might be an upstream bug in zarr.

It seems specific to fsspec-backed zarr stores. Passing a`ZipStore` object directly to `open_dataarray` succeeds, but a `FsspecStore` object fails: ```python import zarr ## ZipStore works specstore = zarr.storage.ZipStore('bad.zipstore.zip',mode='r') specstore._sync_open() #...

A quick test suggests that a `DirFileSystem`-backed store works: ```python from fsspec.implementations.dirfs import DirFileSystem bad_dir_fsspec = AsyncFileSystemWrapper(DirFileSystem('bad.dirstore.zarr')) bad_fs_storage = zarr.storage.FsspecStore(bad_dir_fsspec) print(xr.load_dataarray(bad_fs_storage,engine='zarr',zarr_format=3,consolidated=False)) # Size: 8B # array([0.]) # Coordinates: # *...