Skip to content

Commit e0a9ae2

Browse files
Merge pull request #25 from sat-utils/develop
publish 0.2.1
2 parents a2a4309 + a1d6676 commit e0a9ae2

File tree

4 files changed

+4
-27
lines changed

4 files changed

+4
-27
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1111
### Changed
1212
- Updated metadata fields for STAC 0.9.0-rc2
1313

14+
### Fixed
15+
- Point to correct github tag when linking to STAC collection metadata
16+
1417
## [v0.2.0] - 2020-01-12
1518

1619
### Added

stac_sentinel/sentinel-s2-l1c.json

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -56,86 +56,73 @@
5656
{
5757
"name": "B01",
5858
"common_name": "coastal",
59-
"gsd": 60.0,
6059
"center_wavelength": 0.4439,
6160
"full_width_half_max": 0.027
6261
},
6362
{
6463
"name": "B02",
6564
"common_name": "blue",
66-
"gsd": 10.0,
6765
"center_wavelength": 0.4966,
6866
"full_width_half_max": 0.098
6967
},
7068
{
7169
"name": "B03",
7270
"common_name": "green",
73-
"gsd": 10.0,
7471
"center_wavelength": 0.56,
7572
"full_width_half_max": 0.045
7673
},
7774
{
7875
"name": "B04",
7976
"common_name": "red",
80-
"gsd": 10.0,
8177
"center_wavelength": 0.6645,
8278
"full_width_half_max": 0.038
8379
},
8480
{
8581
"name": "B05",
86-
"gsd": 20.0,
8782
"center_wavelength": 0.7039,
8883
"full_width_half_max": 0.019
8984
},
9085
{
9186
"name": "B06",
92-
"gsd": 20.0,
9387
"center_wavelength": 0.7402,
9488
"full_width_half_max": 0.018
9589
},
9690
{
9791
"name": "B07",
98-
"gsd": 20.0,
9992
"center_wavelength": 0.7825,
10093
"full_width_half_max": 0.028
10194
},
10295
{
10396
"name": "B08",
10497
"common_name": "nir",
105-
"gsd": 10.0,
10698
"center_wavelength": 0.8351,
10799
"full_width_half_max": 0.145
108100
},
109101
{
110102
"name": "B8A",
111-
"gsd": 20.0,
112103
"center_wavelength": 0.8648,
113104
"full_width_half_max": 0.033
114105
},
115106
{
116107
"name": "B09",
117-
"gsd": 60.0,
118108
"center_wavelength": 0.945,
119109
"full_width_half_max": 0.026
120110
},
121111
{
122112
"name": "B10",
123113
"common_name": "cirrus",
124-
"gsd": 60.0,
125114
"center_wavelength": 1.3735,
126115
"full_width_half_max": 0.075
127116
},
128117
{
129118
"name": "B11",
130119
"common_name": "swir16",
131-
"gsd": 20.0,
132120
"center_wavelength": 1.6137,
133121
"full_width_half_max": 0.143
134122
},
135123
{
136124
"name": "B12",
137125
"common_name": "swir22",
138-
"gsd": 20.0,
139126
"center_wavelength": 2.22024,
140127
"full_width_half_max": 0.242
141128
}

stac_sentinel/sentinel-s2-l2a.json

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -56,86 +56,73 @@
5656
{
5757
"name": "B01",
5858
"common_name": "coastal",
59-
"gsd": 60.0,
6059
"center_wavelength": 0.4439,
6160
"full_width_half_max": 0.027
6261
},
6362
{
6463
"name": "B02",
6564
"common_name": "blue",
66-
"gsd": 10.0,
6765
"center_wavelength": 0.4966,
6866
"full_width_half_max": 0.098
6967
},
7068
{
7169
"name": "B03",
7270
"common_name": "green",
73-
"gsd": 10.0,
7471
"center_wavelength": 0.56,
7572
"full_width_half_max": 0.045
7673
},
7774
{
7875
"name": "B04",
7976
"common_name": "red",
80-
"gsd": 10.0,
8177
"center_wavelength": 0.6645,
8278
"full_width_half_max": 0.038
8379
},
8480
{
8581
"name": "B05",
86-
"gsd": 20.0,
8782
"center_wavelength": 0.7039,
8883
"full_width_half_max": 0.019
8984
},
9085
{
9186
"name": "B06",
92-
"gsd": 20.0,
9387
"center_wavelength": 0.7402,
9488
"full_width_half_max": 0.018
9589
},
9690
{
9791
"name": "B07",
98-
"gsd": 20.0,
9992
"center_wavelength": 0.7825,
10093
"full_width_half_max": 0.028
10194
},
10295
{
10396
"name": "B08",
10497
"common_name": "nir",
105-
"gsd": 10.0,
10698
"center_wavelength": 0.8351,
10799
"full_width_half_max": 0.145
108100
},
109101
{
110102
"name": "B8A",
111-
"gsd": 20.0,
112103
"center_wavelength": 0.8648,
113104
"full_width_half_max": 0.033
114105
},
115106
{
116107
"name": "B09",
117-
"gsd": 60.0,
118108
"center_wavelength": 0.945,
119109
"full_width_half_max": 0.026
120110
},
121111
{
122112
"name": "B10",
123113
"common_name": "cirrus",
124-
"gsd": 60.0,
125114
"center_wavelength": 1.3735,
126115
"full_width_half_max": 0.075
127116
},
128117
{
129118
"name": "B11",
130119
"common_name": "swir16",
131-
"gsd": 20.0,
132120
"center_wavelength": 1.6137,
133121
"full_width_half_max": 0.143
134122
},
135123
{
136124
"name": "B12",
137125
"common_name": "swir22",
138-
"gsd": 20.0,
139126
"center_wavelength": 2.22024,
140127
"full_width_half_max": 0.242
141128
}

stac_sentinel/sentinel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def get_collection(self):
5454
def get_collection_link(self):
5555
""" Return a STAC link to STAC Collection JSON from GitHub repo """
5656
repo_url = 'https://raw.githubusercontent.com/sat-utils/sat-stac-sentinel'
57-
collection_url = repo_url + '/develop/stac_sentinel/%s.json' % self.collection
57+
collection_url = repo_url + '/%s/stac_sentinel/%s.json' % (__version__), self.collection)
5858
return {
5959
'rel': 'collection',
6060
'type': 'application/json',

0 commit comments

Comments
 (0)