Skip to content

Commit

Permalink
update urlpath in catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
sandhujasmine committed Jun 22, 2023
1 parent 061e859 commit f9ea0d0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions landuse_classification/catalog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ sources:
driver: xarray_image
cache:
- argkey: urlpath
regex: 'earth-data/UCMerced_LandUse'
regex: 'datasets.holoviz.org/UCMerced_LandUse'
type: file
args:
urlpath: 's3://earth-data/UCMerced_LandUse/Images/{landuse}/{landuse}{id:2d}.tif'
urlpath: 's3://datasets.holoviz.org/UCMerced_LandUse/v1/Images/{landuse}/{landuse}{id:2d}.tif'
chunks: {}
storage_options: {'anon': True}
concat_dim: [id, landuse]
Expand All @@ -20,15 +20,15 @@ sources:
driver: xarray_image
cache:
- argkey: urlpath
regex: 'earth-data/UCMerced_LandUse'
regex: 'datasets.holoviz.org/UCMerced_LandUse'
type: file
parameters:
landuse:
description: which landuse to collect
type: str
default: airplane
args:
urlpath: 's3://earth-data/UCMerced_LandUse/Images/{{ landuse }}/{{ landuse }}{id:2d}.tif'
urlpath: 's3://datasets.holoviz.org/UCMerced_LandUse/v1/Images/{{ landuse }}/{{ landuse }}{id:2d}.tif'
storage_options: {'anon': True}
concat_dim: id
coerce_shape: [256, 256]
Expand All @@ -39,7 +39,7 @@ sources:
driver: xarray_image
cache:
- argkey: urlpath
regex: 'earth-data/UCMerced_LandUse'
regex: 'datasets.holoviz.org/UCMerced_LandUse'
type: file
parameters:
landuse:
Expand All @@ -51,5 +51,5 @@ sources:
type: int
default: 0
args:
urlpath: "s3://earth-data/UCMerced_LandUse/Images/{{ landuse }}/{{ landuse }}{{ '%02d' % id }}.tif"
urlpath: "s3://datasets.holoviz.org/UCMerced_LandUse/v1/Images/{{ landuse }}/{{ landuse }}{{ '%02d' % id }}.tif"
storage_options: {'anon': True}

0 comments on commit f9ea0d0

Please sign in to comment.