Comments (3)
from eodal.
Hi @orianif
thanks for the suggestions. While I think we can discuss about fill values, I have two comments:
First: The mask method actually should not alter data values. It uses np.ma.MaskedArray
to mask out pixels by setting their entry in the mask
part of the MaskedArray
to False. Operations in EOdal always check for the is_masked_array
attribute to handle these arrays correctly. So, it should not happen that data values are set to zero (which is the no-data value of Sentinel-2 defined by ESA by the way). In case it happens, could you please post a code snippet for reproducing the issue?
Second, I think a major issue with using custom fill values is the data type. 'nan' will produce an error when working with integer values, which are widely used for remote sensing data products (e.g., 16bit integers for Sentinel-2). So, the question would be how to handle such "wrong" fill values?
Best,
Lukas
from eodal.
Hi @orianif, is this issue still applicable? If so, can you please post a minimum reproducible example so that I can see what's going on in your case?
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
- Mapper: Add information on data source to metadata (e.g.MSPC) HOT 2
- Fix code scanning alert - Insecure temporary file
- eodal log: custom log files folder HOT 1
- 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.