Skip to content

example dataset for inference #31

@einzigsue

Description

@einzigsue

Is it the following dataset defined in src/cbottle/config/environment.py supposed to be accessible by non-developers?

s3://asubramaniam-testing/ICON_v6_dataset.zarr

The inference with the coarse generator python scripts/inference_coarse.py cBottle-3d.zip inference_output --sample.min_samples 1 returns to the following error message.

INFO:root:opening s3://asubramaniam-testing/ICON_v6_dataset.zarr/
INFO:aiobotocore.credentials:Found credentials in environment variables.
[rank0]: Traceback (most recent call last):
[rank0]:   File "/g/data/z00/yxs900/HEALPix/repo/cBottle/scripts/inference_coarse.py", line 336, in <module>
[rank0]:     main()
[rank0]:   File "/g/data/z00/yxs900/HEALPix/repo/cBottle/scripts/inference_coarse.py", line 312, in main
[rank0]:     dataset = dataset_3d.get_dataset(
[rank0]:               ^^^^^^^^^^^^^^^^^^^^^^^
[rank0]:   File "/opt/conda/envs/cbottle/lib/python3.12/site-packages/cbottle/datasets/dataset_3d.py", line 729, in get_dataset
[rank0]:     ds = dataset_func(
[rank0]:          ^^^^^^^^^^^^^
[rank0]:   File "/opt/conda/envs/cbottle/lib/python3.12/site-packages/cbottle/datasets/dataset_3d.py", line 388, in _get_dataset_icon
[rank0]:     ZarrLoader(
[rank0]:   File "/opt/conda/envs/cbottle/lib/python3.12/site-packages/cbottle/datasets/zarr_loader.py", line 78, in __init__
[rank0]:     self.group = sync(
[rank0]:                  ^^^^^
[rank0]:   File "/opt/conda/envs/cbottle/lib/python3.12/site-packages/zarr/core/sync.py", line 163, in sync
[rank0]:     raise return_result
[rank0]:   File "/opt/conda/envs/cbottle/lib/python3.12/site-packages/zarr/core/sync.py", line 119, in _runner
[rank0]:     return await coro
[rank0]:            ^^^^^^^^^^
[rank0]:   File "/opt/conda/envs/cbottle/lib/python3.12/site-packages/zarr/api/asynchronous.py", line 839, in open_group
[rank0]:     raise FileNotFoundError(f"Unable to find group: {store_path}")
[rank0]: FileNotFoundError: Unable to find group: <FsspecStore(S3FileSystem, asubramaniam-testing/ICON_v6_dataset.zarr)>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions