Comments (2)
I propose to add the information to the yaml that is created optionally summarizing the main configurations for the mapper.
I would differentiate between:
- local archive as data source
- STAC archive as data source
- in this case I'd provide the name of the STAC catalog (including its API version)
from eodal.
A new attribute data_source
has been added to the MapperConfigs
class. The logic behind is
data_source = f'STAC ({settings.STAC_BACKEND.URL})' if settings.USE_STAC else 'local'
Thus, a yaml-file created from the MapperConfigs now looks like:
collection: sentinel2-msi
created_at: 2023-05-26 14:58:46.499058
created_by: graflu
data_source: STAC (https://planetarycomputer.microsoft.com/api/stac/v1)
eodal_version: 0.2.0
feature:
attributes: {}
epsg: 4326
geometry: POLYGON ((8.243751434656897 46.93733845009315, 8.236481171106442 47.07964926539655,
8.477574762024535 47.08246032864037, 8.48254288262916 46.943352951710885, 8.243751434656897
46.93733845009315))
name: geometry
metadata_filters:
- cloudy_pixel_percentage < 25
- processing_level == Level-2A
time_end: 2022-06-30 00:00:00
time_start: 2022-06-01 00:00:00
In this example, the STAC backend was used to read data from Microsoft Planetary Computer (data_source: STAC (https://planetarycomputer.microsoft.com/api/stac/v1)
).
To provide backwards-compatibility with older versions, data_source
is set to UNKNOWN
when reading a yaml file generated with EOdal version <=0.2.0
.
from eodal.
Related Issues (20)
- bug in get_feature_timeseries HOT 7
- Configure conda packaging
- Map algebra fails in some cases depending on the order of arguments HOT 1
- Fix code scanning alert - Insecure temporary file
- eodal log: custom log files folder HOT 1
- Sentinel2.mask_clouds_and_shadows add optional argument fill value HOT 3
- Enhancment: use same background for masked pixels between plot_band and plot_multiple_bands HOT 4
- Retry when STAC query fails HOT 2
- EOdal Mapper: Grids do not align when reprojection is necessary from one UTM Zone into another HOT 2
- Landsat Support HOT 2
- Feature request: Move the preprocessing functions to a specific folder within EOdal HOT 2
- Bug: RasterCollection.to_xarray() results in data being flipped up-side down HOT 3
- Enhancement: `SceneCollection.get_values()` and equivalent for `is_bandstack()` in `SceneCollection` class
- eodal mapper import breaks with pydantic version 2.0.2 HOT 3
- Masking using Scene classification layer HOT 8
- CREODIAS downloader broken HOT 2
- Adopt Landsat datatypes, nodata values and scaling to latest changes for v0.2.3 HOT 1
- Enhancement: ignore nodata values by default when scaling data (or any other transformation) HOT 1
- BUG: No proper heuristic for selection of reference in EOdal mapper HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eodal.