File tree Expand file tree Collapse file tree 8 files changed +13
-9
lines changed
Stars.Data.Tests/Resources/SATELLOGIC/NEWSAT Expand file tree Collapse file tree 8 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 2
2
<PropertyGroup >
3
3
<OutputType >Exe</OutputType >
4
4
<TargetFrameworks >net6.0</TargetFrameworks >
5
- <Version >2.25.6 </Version >
5
+ <Version >2.25.7 </Version >
6
6
<!-- <VersionSuffix>beta.8</VersionSuffix> -->
7
7
<Description >Stars is a CLI for working with Spatio Temporal Catalog such as STAC but not only</Description >
8
8
<Version Condition =" '$(VersionSuffix)' != '' " >$(Version)-$(VersionSuffix)</Version >
Original file line number Diff line number Diff line change 297
297
]
298
298
},
299
299
"properties" : {
300
- "title" : " NEWSAT MS L1 2022-03-20 11:28:27" ,
300
+ "title" : " NEWSAT MS L1_SR 2022-03-20 11:28:27" ,
301
301
"description" : " scene_set_id: ece6d219-e452-4524-8fdc-c61c59727ecf" ,
302
302
"datetime" : " 2022-03-20T11:28:27.976967Z" ,
303
303
"processing:level" : " l1" ,
Original file line number Diff line number Diff line change 292
292
]
293
293
},
294
294
"properties" : {
295
- "title" : " NEWSAT MS L1 2023-10-30 20:08:17" ,
295
+ "title" : " NEWSAT MS L1_SR 2023-10-30 20:08:17" ,
296
296
"description" : " scene_set_id: 27b30afd-1c9a-4580-846c-7fe1ab55b46a--179598" ,
297
297
"datetime" : " 2023-10-30T20:08:17.595251Z" ,
298
298
"processing:level" : " l1" ,
Original file line number Diff line number Diff line change 96
96
]
97
97
},
98
98
"properties" : {
99
- "title" : " NEWSAT MS L1 2024-03-14 17:26:20" ,
99
+ "title" : " NEWSAT MS L1_SR 2024-03-14 17:26:20" ,
100
100
"description" : " scene_set_id: ff914eb4-1157-4509-9bc5-36f055cd8e6c" ,
101
101
"datetime" : " 2024-03-14T17:26:20.006816Z" ,
102
102
"processing:level" : " l1" ,
Original file line number Diff line number Diff line change 230
230
" multispectral"
231
231
],
232
232
"constellation" : " Aleph1" ,
233
- "title" : " NEWSAT MULTISPECTRAL L1D 2024-11-02 10:59:19" ,
233
+ "title" : " NEWSAT MS L1D_SR 2024-11-02 10:59:19" ,
234
234
"processing:level" : " l1d" ,
235
235
"providers" : [
236
236
{
Original file line number Diff line number Diff line change @@ -185,11 +185,15 @@ private void FillTitleProperty(StacItem stacItem)
185
185
var properties = stacItem . Properties ;
186
186
// title
187
187
properties . Remove ( "title" ) ;
188
+ string instruments = properties . GetProperty < string [ ] > ( "instruments" ) . First ( ) ;
189
+ if ( instruments == "multispectral" ) instruments = "MS" ;
190
+ string processingLevel = properties . GetProperty < string > ( "processing:level" ) . ToUpper ( ) ;
191
+ if ( stacItem . Id . Contains ( "_SR_" ) || stacItem . Id . EndsWith ( "_SR" ) ) processingLevel += "_SR" ;
188
192
properties . Add ( "title" , string . Format ( "{0} {1} {2} {3}" ,
189
193
//StylePlatform(properties.GetProperty<string>("platform")),
190
194
properties . GetProperty < string > ( "platform" ) . ToUpper ( ) ,
191
- properties . GetProperty < string [ ] > ( " instruments" ) . First ( ) . ToUpper ( ) ,
192
- properties . GetProperty < string > ( "processing:level" ) . ToUpper ( ) ,
195
+ instruments . ToUpper ( ) ,
196
+ processingLevel ,
193
197
properties . GetProperty < DateTime > ( "datetime" ) . ToUniversalTime ( ) . ToString ( "yyyy-MM-dd HH:mm:ss" , culture ) ) ) ;
194
198
}
195
199
Original file line number Diff line number Diff line change 4
4
<ProjectName >Terradue.Stars.Data</ProjectName >
5
5
<Title >Terradue.Stars.Data</Title >
6
6
<Description >Collection of data Plugins for Terradue.Stars</Description >
7
- <Version >2.25.6 </Version >
7
+ <Version >2.25.7 </Version >
8
8
<!-- <VersionSuffix>beta.8</VersionSuffix> -->
9
9
<Version Condition =" '$(VersionSuffix)' != '' " >$(Version)-$(VersionSuffix)</Version >
10
10
<NoWarn >NU1603</NoWarn >
Original file line number Diff line number Diff line change 3
3
<TargetFramework >netstandard2.0</TargetFramework >
4
4
<Title >Terradue.Stars</Title >
5
5
<Description >Stars is a set of services for working with Spatio Temporal Catalog such as STAC but not only</Description >
6
- <Version >2.25.6 </Version >
6
+ <Version >2.25.7 </Version >
7
7
<!-- <VersionSuffix>beta.8</VersionSuffix> -->
8
8
<Version Condition =" '$(VersionSuffix)' != '' " >$(Version)-$(VersionSuffix)</Version >
9
9
<AssemblyName >Terradue.Stars.Services</AssemblyName >
You can’t perform that action at this time.
0 commit comments