Comments (4)
Thanks for this report. It seems that the underlying GDAL is unable to read that image file. Have you recently upgraded Fmask and/or GDAL? Could you try reading that .jp2 file with something else, to check that the file is not corrupted?
from python-fmask.
Dear Neil Flood,
Thank you for your answer.
Yes, I have recently upgraded Fmask and GDAL.
GDAL is working fine and it can read Sentinel-2 images in other interfaces. The file is not corrupted because I have worked with it in other platforms (QGIS and R).
Thank you,
Thais
from python-fmask.
@thais-lima I see that you have installed python-fmask
into the root environment of an Anaconda distribution. conda-forge and Anaconda packages do not usually work well together so I would recommend (taken from https://conda-forge.org/#about):
conda --add channels conda-forge
conda config --set channel_priority strict
conda create -n testend python-fmask
conda activate testenv
And it should work then. Always install packages into an environment and use them from there - anything using GDAL requires it to work properly.
If that doesn't work, check the output of conda list
and confirm all your packages are coming from conda-forge.
from python-fmask.
Closed, assuming no further troubles.
from python-fmask.
Related Issues (20)
- python-fmask and google colab HOT 1
- A proposal to adapt Fmask for use in Google Earth Engine HOT 5
- can not run version 0.5.5 HOT 4
- Add support for Landsat Collection 2 HOT 9
- Terraced artefacts in Fmask cloud shadow data HOT 12
- Cloud shadow extrapolation to scene edge HOT 1
- Copernicus Sentinel-2 Major Products Upgrade on 2021/10/26 HOT 4
- Does python-fmask also need the auxiliary data๏ผ HOT 4
- Output file are colored with one colour HOT 1
- Add Sentinel-2 run with TOA feature back
- Default Landsat cloud and shadow dilations used by `python-fmask`? HOT 2
- About applying the generated mask back to the RGB file HOT 1
- dummy question
- Extract the snow/ice and water mask out from output .tif file HOT 1
- Can I run fmask on tiff files? HOT 2
- cannot import name '_fillminima' from 'fmask' HOT 2
- About the results HOT 3
- Unable to move the cache, Access denied 0x5 HOT 6
- Pure latency measure HOT 3
- FloatingPointError when running fmask-python HOT 5
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 python-fmask.