Skip to content

Commit

Permalink
OPeNDAP: change chunk from {} to null
Browse files Browse the repository at this point in the history
There's an issue with the interworkings of dask and OPeNDAP: If dask
decides to do chunks on a dataset, it will request the whole chunk from
the backend storage, even if only a part of it is needed in the end.
However for OPeNDAP it is best to request only the required parts from
the backend. This change disables initial dask-chunking for all datasets
which previously used only a single chunk.

While this likely will improve performance for a lot of cases, it may
not always be the best solution. If multiple datasets are to be
concatenated, dask has to be used. However, in those cases, the user
maybe knows about chunking an will define those manually.
  • Loading branch information
d70-t committed Mar 18, 2021
1 parent 54b9f78 commit 76ee606
Show file tree
Hide file tree
Showing 90 changed files with 415 additions and 415 deletions.
2 changes: 1 addition & 1 deletion ATR/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ sources:
args:
urlpath: https://observations.ipsl.fr/thredds/dodsC/EUREC4A/PRODUCTS/TRACKS/EUREC4A_tracks_ATR_v1.0.nc
auth: null
chunks: {}
chunks: null
engine: netcdf4
metadata:
tags:
Expand Down
2 changes: 1 addition & 1 deletion Atalante/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sources:
track:
args:
auth: null
chunks: {}
chunks: null
engine: netcdf4
urlpath: https://observations.ipsl.fr/thredds/dodsC/EUREC4A/PRODUCTS/TRACKS/EUREC4A_tracks_Atalante_v1.0.nc
description: Atalante track
Expand Down
2 changes: 1 addition & 1 deletion BOREAL/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sources:
track:
args:
auth: null
chunks: {}
chunks: null
engine: netcdf4
urlpath: https://observations.ipsl.fr/thredds/dodsC/EUREC4A/PRODUCTS/TRACKS/EUREC4A_tracks_BOREAL_v1.0.nc
description: BOREAL track
Expand Down
2 changes: 1 addition & 1 deletion CU-RAAVEN/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sources:
track:
args:
auth: null
chunks: {}
chunks: null
engine: netcdf4
urlpath: https://observations.ipsl.fr/thredds/dodsC/EUREC4A/PRODUCTS/TRACKS/EUREC4A_tracks_CU-RAAVEN_v1.0.nc
description: CU-RAAVEN track
Expand Down
2 changes: 1 addition & 1 deletion Caravela/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sources:
track:
args:
auth: null
chunks: {}
chunks: null
engine: netcdf4
urlpath: https://observations.ipsl.fr/thredds/dodsC/EUREC4A/PRODUCTS/TRACKS/EUREC4A_tracks_Caravela_v1.0.nc
description: Caravela track
Expand Down
34 changes: 17 additions & 17 deletions HALO/BAHAMAS_PositionAttitude.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,116 +8,116 @@ sources:
args:
urlpath: https://observations.ipsl.fr/thredds/dodsC/EUREC4A/AIRCRAFT/HALO/BAHAMAS/data/ESSD_HALO_BAHAMAS_Subset/EUREC4A_HALO_BAHAMAS_PositionAttitude_20200115_v1.1.nc
auth: null
chunks: {}
chunks: null

HALO-0118:
driver: opendap
args:
urlpath: https://observations.ipsl.fr/thredds/dodsC/EUREC4A/AIRCRAFT/HALO/BAHAMAS/data/ESSD_HALO_BAHAMAS_Subset/EUREC4A_HALO_BAHAMAS_PositionAttitude_20200118_v1.1.nc
auth: null
chunks: {}
chunks: null

HALO-0119:
driver: opendap
args:
urlpath: https://observations.ipsl.fr/thredds/dodsC/EUREC4A/AIRCRAFT/HALO/BAHAMAS/data/ESSD_HALO_BAHAMAS_Subset/EUREC4A_HALO_BAHAMAS_PositionAttitude_20200119_v1.1.nc
auth: null
chunks: {}
chunks: null

HALO-0122:
driver: opendap
args:
urlpath: https://observations.ipsl.fr/thredds/dodsC/EUREC4A/AIRCRAFT/HALO/BAHAMAS/data/ESSD_HALO_BAHAMAS_Subset/EUREC4A_HALO_BAHAMAS_PositionAttitude_20200122_v1.1.nc
auth: null
chunks: {}
chunks: null

HALO-0124:
driver: opendap
args:
urlpath: https://observations.ipsl.fr/thredds/dodsC/EUREC4A/AIRCRAFT/HALO/BAHAMAS/data/ESSD_HALO_BAHAMAS_Subset/EUREC4A_HALO_BAHAMAS_PositionAttitude_20200124_v1.1.nc
auth: null
chunks: {}
chunks: null

HALO-0126:
driver: opendap
args:
urlpath: https://observations.ipsl.fr/thredds/dodsC/EUREC4A/AIRCRAFT/HALO/BAHAMAS/data/ESSD_HALO_BAHAMAS_Subset/EUREC4A_HALO_BAHAMAS_PositionAttitude_20200126_v1.1.nc
auth: null
chunks: {}
chunks: null

HALO-0128:
driver: opendap
args:
urlpath: https://observations.ipsl.fr/thredds/dodsC/EUREC4A/AIRCRAFT/HALO/BAHAMAS/data/ESSD_HALO_BAHAMAS_Subset/EUREC4A_HALO_BAHAMAS_PositionAttitude_20200128_v1.1.nc
auth: null
chunks: {}
chunks: null

HALO-0130:
driver: opendap
args:
urlpath: https://observations.ipsl.fr/thredds/dodsC/EUREC4A/AIRCRAFT/HALO/BAHAMAS/data/ESSD_HALO_BAHAMAS_Subset/EUREC4A_HALO_BAHAMAS_PositionAttitude_20200130_v1.1.nc
auth: null
chunks: {}
chunks: null

HALO-0131:
driver: opendap
args:
urlpath: https://observations.ipsl.fr/thredds/dodsC/EUREC4A/AIRCRAFT/HALO/BAHAMAS/data/ESSD_HALO_BAHAMAS_Subset/EUREC4A_HALO_BAHAMAS_PositionAttitude_20200131_v1.1.nc
auth: null
chunks: {}
chunks: null

HALO-0202:
driver: opendap
args:
urlpath: https://observations.ipsl.fr/thredds/dodsC/EUREC4A/AIRCRAFT/HALO/BAHAMAS/data/ESSD_HALO_BAHAMAS_Subset/EUREC4A_HALO_BAHAMAS_PositionAttitude_20200202_v1.1.nc
auth: null
chunks: {}
chunks: null

HALO-0205:
driver: opendap
args:
urlpath: https://observations.ipsl.fr/thredds/dodsC/EUREC4A/AIRCRAFT/HALO/BAHAMAS/data/ESSD_HALO_BAHAMAS_Subset/EUREC4A_HALO_BAHAMAS_PositionAttitude_20200205_v1.1.nc
auth: null
chunks: {}
chunks: null

HALO-0207:
driver: opendap
args:
urlpath: https://observations.ipsl.fr/thredds/dodsC/EUREC4A/AIRCRAFT/HALO/BAHAMAS/data/ESSD_HALO_BAHAMAS_Subset/EUREC4A_HALO_BAHAMAS_PositionAttitude_20200207_v1.1.nc
auth: null
chunks: {}
chunks: null

HALO-0209:
driver: opendap
args:
urlpath: https://observations.ipsl.fr/thredds/dodsC/EUREC4A/AIRCRAFT/HALO/BAHAMAS/data/ESSD_HALO_BAHAMAS_Subset/EUREC4A_HALO_BAHAMAS_PositionAttitude_20200209_v1.1.nc
auth: null
chunks: {}
chunks: null

HALO-0211:
driver: opendap
args:
urlpath: https://observations.ipsl.fr/thredds/dodsC/EUREC4A/AIRCRAFT/HALO/BAHAMAS/data/ESSD_HALO_BAHAMAS_Subset/EUREC4A_HALO_BAHAMAS_PositionAttitude_20200211_v1.1.nc
auth: null
chunks: {}
chunks: null

HALO-0213:
driver: opendap
args:
urlpath: https://observations.ipsl.fr/thredds/dodsC/EUREC4A/AIRCRAFT/HALO/BAHAMAS/data/ESSD_HALO_BAHAMAS_Subset/EUREC4A_HALO_BAHAMAS_PositionAttitude_20200213_v1.1.nc
auth: null
chunks: {}
chunks: null

HALO-0215:
driver: opendap
args:
urlpath: https://observations.ipsl.fr/thredds/dodsC/EUREC4A/AIRCRAFT/HALO/BAHAMAS/data/ESSD_HALO_BAHAMAS_Subset/EUREC4A_HALO_BAHAMAS_PositionAttitude_20200215_v1.1.nc
auth: null
chunks: {}
chunks: null

HALO-0218:
driver: opendap
args:
urlpath: https://observations.ipsl.fr/thredds/dodsC/EUREC4A/AIRCRAFT/HALO/BAHAMAS/data/ESSD_HALO_BAHAMAS_Subset/EUREC4A_HALO_BAHAMAS_PositionAttitude_20200218_v1.1.nc
auth: null
chunks: {}
chunks: null
30 changes: 15 additions & 15 deletions HALO/BAHAMAS_QL.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,102 +8,102 @@ sources:
args:
urlpath: https://observations.ipsl.fr/thredds/dodsC/EUREC4A/AIRCRAFT/HALO/BAHAMAS/data/EUREC4A_HALO_BAHAMAS-QL-10Hz_20200119a.nc
auth: null
chunks: {}
chunks: null

HALO-0122:
driver: opendap
args:
urlpath: https://observations.ipsl.fr/thredds/dodsC/EUREC4A/AIRCRAFT/HALO/BAHAMAS/data/EUREC4A_HALO_BAHAMAS-QL-10Hz_20200122a.nc
auth: null
chunks: {}
chunks: null

HALO-0124:
driver: opendap
args:
urlpath: https://observations.ipsl.fr/thredds/dodsC/EUREC4A/AIRCRAFT/HALO/BAHAMAS/data/EUREC4A_HALO_BAHAMAS-QL-10Hz_20200124a.nc
auth: null
chunks: {}
chunks: null

HALO-0126:
driver: opendap
args:
urlpath: https://observations.ipsl.fr/thredds/dodsC/EUREC4A/AIRCRAFT/HALO/BAHAMAS/data/EUREC4A_HALO_BAHAMAS-QL-10Hz_20200126a.nc
auth: null
chunks: {}
chunks: null

HALO-0128:
driver: opendap
args:
urlpath: https://observations.ipsl.fr/thredds/dodsC/EUREC4A/AIRCRAFT/HALO/BAHAMAS/data/EUREC4A_HALO_BAHAMAS-QL-10Hz_20200128a.nc
auth: null
chunks: {}
chunks: null

HALO-0130:
driver: opendap
args:
urlpath: https://observations.ipsl.fr/thredds/dodsC/EUREC4A/AIRCRAFT/HALO/BAHAMAS/data/EUREC4A_HALO_BAHAMAS-QL-10Hz_20200130a.nc
auth: null
chunks: {}
chunks: null

HALO-0131:
driver: opendap
args:
urlpath: https://observations.ipsl.fr/thredds/dodsC/EUREC4A/AIRCRAFT/HALO/BAHAMAS/data/EUREC4A_HALO_BAHAMAS-QL-10Hz_20200131a.nc
auth: null
chunks: {}
chunks: null

HALO-0202:
driver: opendap
args:
urlpath: https://observations.ipsl.fr/thredds/dodsC/EUREC4A/AIRCRAFT/HALO/BAHAMAS/data/EUREC4A_HALO_BAHAMAS-QL-10Hz_20200202a.nc
auth: null
chunks: {}
chunks: null

HALO-0205:
driver: opendap
args:
urlpath: https://observations.ipsl.fr/thredds/dodsC/EUREC4A/AIRCRAFT/HALO/BAHAMAS/data/EUREC4A_HALO_BAHAMAS-QL-10Hz_20200205a.nc
auth: null
chunks: {}
chunks: null

HALO-0207:
driver: opendap
args:
urlpath: https://observations.ipsl.fr/thredds/dodsC/EUREC4A/AIRCRAFT/HALO/BAHAMAS/data/EUREC4A_HALO_BAHAMAS-QL-10Hz_20200207a.nc
auth: null
chunks: {}
chunks: null

HALO-0209:
driver: opendap
args:
urlpath: https://observations.ipsl.fr/thredds/dodsC/EUREC4A/AIRCRAFT/HALO/BAHAMAS/data/EUREC4A_HALO_BAHAMAS-QL-10Hz_20200209a.nc
auth: null
chunks: {}
chunks: null

HALO-0211:
driver: opendap
args:
urlpath: https://observations.ipsl.fr/thredds/dodsC/EUREC4A/AIRCRAFT/HALO/BAHAMAS/data/EUREC4A_HALO_BAHAMAS-QL-10Hz_20200211a.nc
auth: null
chunks: {}
chunks: null

HALO-0213:
driver: opendap
args:
urlpath: https://observations.ipsl.fr/thredds/dodsC/EUREC4A/AIRCRAFT/HALO/BAHAMAS/data/EUREC4A_HALO_BAHAMAS-QL-10Hz_20200213a.nc
auth: null
chunks: {}
chunks: null

HALO-0215:
driver: opendap
args:
urlpath: https://observations.ipsl.fr/thredds/dodsC/EUREC4A/AIRCRAFT/HALO/BAHAMAS/data/EUREC4A_HALO_BAHAMAS-QL-10Hz_20200215a.nc
auth: null
chunks: {}
chunks: null

HALO-0218:
driver: opendap
args:
urlpath: https://observations.ipsl.fr/thredds/dodsC/EUREC4A/AIRCRAFT/HALO/BAHAMAS/data/EUREC4A_HALO_BAHAMAS-QL-10Hz_20200218a.nc
auth: null
chunks: {}
chunks: null
Loading

0 comments on commit 76ee606

Please sign in to comment.