Panu Lahtinen
Panu Lahtinen
Unfortunately no. I'm not sure where would I even start..
It looks like it's only the `NetCDF4FileHandler`. For example the `abi_l1b` reader, which is independent of this and uses XArray instead of using neither `netCDF4` nor `h5netcdf`directly, is very much...
h5netcdf 1.0.2 pyhd8ed1ab_0 conda-forge libnetcdf 4.8.1 nompi_h329d8a1_102 conda-forge netcdf4 1.6.0 nompi_py39hf5a3a3f_100 conda-forge
Test data are available from here: https://sftp.eumetsat.int/public/folder/UsCVknVOOkSyCdgpMimJNQ/User-Materials/Test-Data/MTG/MTG_FCI_L1C_SpectrallyRepresentative_TD-360_May2022/
> I tried this (second variant, just computing the channel without saving or resampling) and seem to get something multithreaded. I think the plot is missing most of it. For...
If I set *only* `cache_var_size = 0`, I get this: ```python Traceback (most recent call last): File "/home/lahtinep/mambaforge/envs/pytroll/lib/python3.9/site-packages/xarray/core/ops.py", line 191, in _call_possibly_missing_method method = getattr(arg, name) AttributeError: 'Array' object has...
This is what I get with 20 composites, some of which are day/night combinations:  The tasks in the graph are mostly gradient search, but...
I started playing with possible solution 2, by yielding delayed file handlers in https://github.com/pytroll/satpy/blob/main/satpy/readers/yaml_reader.py#L509 and then computing them in https://github.com/pytroll/satpy/blob/main/satpy/readers/yaml_reader.py#L599 when passing to file handle filtering. Without computing, the filtering...
Refactoring https://github.com/pytroll/satpy/blob/main/satpy/readers/yaml_reader.py#L694-L701 and using `dask.delayed`, computing the slices and then collecting the usable slices seemed to be doing nothing for the task graph nor performance. I think I'm way of...
Took a while to figure this out. ```python new_scn = scn.resample(area, cache_dir=cache_dir, resample='bucket_sum') ``` has a typo. It should be `resampler='bucket_sum'`. With the typo, Satpy defaults to the `'nearest'` resampler....