Comments (3)
Original comment by Neil Flood (Bitbucket: neilflood, GitHub: neilflood).
Hi Ian,
Thanks for your thoughts on this, I appreciate the interest and feedback.
I think the main reason for adding the new --safedir option was because most people seem to use it that way, and telling them how to run a whole set of commands seemed more cumbersome than coding up the same thing internally.
I am a great believer in not breaking things which currently work, so I was not planning to remove the old options, and if you have built a workflow around them, I am happy to leave them in. So, don't worry about that. When I get a moment, I will update the doc so it does not call them obsolete.
When we set this package up, we had originally expected that people would use it as a Python module, and write their own main program to stack things exactly as they wished, and we only added the command line script as a simple way to get started. We were surprised when people just used that directly as they only way in.
With that in mind, I would suggest that you might benefit from using it that way, i.e. build your workflow on top of the Python module, and write your own command line around that. It sounds like you have done that in some form, but talking to the fmask_sentinel2stacked.py command line. No problem either way, and entirely up to you, that is just how I think of it. For our own work here, we have our own private command line which understands our own file naming conventions and so on, so we do not use the fmask_sentinel2stacked.py main program.
Does all that make sense?
re: Vincent's comments about possible mis-registration of overviews in the supplied jp2 files - I have not observed this either, but I work in a quite different workflow. Mostly I am working with files which have been converted out of the supplied jp2 files, and had their overviews recalculated. I wonder if you are in a similar position by using the individual bands - have not tried that option at all. Anyway, I took him seriously enough that I followed his general pattern when I implemented the new --safedir option.
Neil
from python-fmask.
Original comment by Ian Cooke (Bitbucket: ircwaves, GitHub: ircwaves).
Thanks, Neil.
All of that makes perfect sense. Using the module programmatically (instead of via subprocess
) should be on our list. And, you describe what we have implemented very well. We aren't recomputing the overviews, so I hope that maybe Vincent can chime in with a link or example.
Our app, GIPS, uses the VRT as a layer of indirection. We were going to use a VRT with /vsicurl
path/urls in it, but remote reads of JP2s seem problematic. Installations can be configured to pull from ESA scihub, or Google Cloud Storage, and are capable of producing many common remote sensing products from many sources. Documentation is quite stale, so if it ever seems of interest to you in your work, please don't hesitate to contact me directly ( 'I COOKE at ACM . ORG'.lower().replace('at', '@').replace(' ', '')
).
Ian
from python-fmask.
No further action required.
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.