Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simplestac
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BONNIER MONA
simplestac
Commits
8cd7bddf
Commit
8cd7bddf
authored
1 year ago
by
de Boissieu Florian
Browse files
Options
Downloads
Patches
Plain Diff
update example
parent
f133c196
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+0
-0
0 additions, 0 deletions
CHANGELOG.md
examples/local_stac.py
+1
-2
1 addition, 2 deletions
examples/local_stac.py
with
1 addition
and
2 deletions
CHANGELOG.md
0 → 100644
+
0
−
0
View file @
8cd7bddf
This diff is collapsed.
Click to expand it.
examples/local_stac.py
+
1
−
2
View file @
8cd7bddf
...
...
@@ -13,7 +13,6 @@ import xarray as xr
import
zipfile
tmpdir
=
Path
(
TemporaryDirectory
(
prefix
=
"
simplestac_
"
).
name
)
tmpdir
=
Path
(
"
/tmp/simplestac_szlnywhw
"
)
print
(
tmpdir
)
# to keep track of the directory to remove
data_dir
=
tmpdir
/
'
fordead_data-main
'
...
...
@@ -37,7 +36,7 @@ coll = build_item_collection(image_dir, collection_format("S2_L2A_THEIA"))
coll
# %%
# save collection
# save collection
in json format
coll
.
save_object
(
coll_path
)
assert
coll_path
.
exists
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment