File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,11 @@ to Zarr's top level API will result in the store being created automatically.
2626   zarr.open_group(" data/foo/bar"  , mode = " w"  ) 
2727
2828   #  implicitly create a read-only FsspecStore 
29-    zarr.open_group(" s3://noaa-nwm-retro-v2-zarr-pds"  , mode = " r"  ) 
29+    zarr.open_group( 
30+       " s3://noaa-nwm-retro-v2-zarr-pds"  , 
31+       mode = " r"  , 
32+       storage_options = {" anon"  : True } 
33+    ) 
3034
3135   #  implicitly creates a MemoryStore 
3236   data =  {} 
@@ -68,11 +72,16 @@ The :class:`zarr.storage.FsspecStore` stores the contents of a Zarr hierarchy in
6872logical layout as the ``LocalStore ``, except the store is assumed to be on a remote storage system
6973such as cloud object storage (e.g. AWS S3, Google Cloud Storage, Azure Blob Store). The
7074:class: `zarr.storage.FsspecStore ` is backed by `Fsspec_ ` and can support any Fsspec backend
71- that implements the `AbstractFileSystem ` API,
75+ that implements the `AbstractFileSystem ` API. ``storage_options `` can be used to configure
76+ the Fsspec backend.
7277
7378.. ipython :: python 
7479
75-    store =  zarr.storage.FsspecStore.from_url(" s3://noaa-nwm-retro-v2-zarr-pds"  , read_only = True ) 
80+    store =  zarr.storage.FsspecStore.from_url( 
81+       " s3://noaa-nwm-retro-v2-zarr-pds"  , 
82+       read_only = True , 
83+       storage_options = {" anon"  : True } 
84+    ) 
7685   zarr.open_group(store = store, mode = ' r'  ) 
7786
7887 Memory Store
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments