diff --git a/docs/src/tutorials/nasa_oisst.jl b/docs/src/tutorials/nasa_oisst.jl new file mode 100644 index 0000000..3b8cf3e --- /dev/null +++ b/docs/src/tutorials/nasa_oisst.jl @@ -0,0 +1,14 @@ +#= +# NASA OISST data +=# + +import AWSS3 +AWS.global_aws_config(AWS.AWSConfig(; region = "us-east-1")) + +catalog = download("https://ncsa.osn.xsede.org/Pangeo/pangeo-forge/pangeo-forge/aws-noaa-oisst-feedstock/aws-noaa-oisst-avhrr-only.zarr/reference.json") + +using Kerchunk, Rasters, ZarrDatasets + +rs = RasterStack("reference://$catalog"; source = Rasters.Zarrsource(), lazy = true) + +# We can now manipulate the data using any Rasters or DimensionalData functions, or any Julia array manipulation functions \ No newline at end of file diff --git a/src/zlib_compressor.jl b/src/zlib_compressor.jl index 47f4655..ec837f9 100644 --- a/src/zlib_compressor.jl +++ b/src/zlib_compressor.jl @@ -1,6 +1,6 @@ import Zarr: Compressor, zcompress, zuncompress, getCompressor, JSON, compressortypes -using CodecZstd +import CodecZstd """ ZstdCompressor(clevel=-1)