Skip to content

Commit

Permalink
Feature/issue 172 (#193)
Browse files Browse the repository at this point in the history
* fix shapefile subsetting

* update changelog
  • Loading branch information
sliu008 committed Sep 5, 2023
1 parent 51ea145 commit abc7931
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- [issue/182](https://github.com/podaac/l2ss-py/issues/182): Update code so doesn't remove '/' on attribute values.
- [issue/178](https://github.com/podaac/l2ss-py/issues/178): Add function to make sure dimension in subset is same as original file
- [issue/172](https://github.com/podaac/l2ss-py/issues/178): Fix shapefile subsetting by passing correct variable to subset function.
### Deprecated
### Removed
### Fixed
Expand Down
2 changes: 1 addition & 1 deletion podaac/subsetter/subset_harmony.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def process_item(self, item: pystac.Item, source: harmony.message.Source) -> pys
harmony_bbox = message.subset.bbox

if message.subset and message.subset.shape:
subset_params['shapefile_path'] = download(
subset_params['shapefile'] = download(
message.subset.shape.href,
temp_dir,
logger=self.logger,
Expand Down

0 comments on commit abc7931

Please sign in to comment.