Comments (6)
#137 writes metadata to json and allows to read that json in i.sentinel.mask. so with that PR merged there should be no more need to keep the unzipped safe. That said the metadata file could also be read directly from zip file...
from grass-addons.
I suggest to have a "keep ZIP file(s)" flag.
The flag can then be used here:
@ninsbl , @landam any opinion?
from grass-addons.
No objections. A flag could be a simple solution.
The reason for this bug report will however be addressed with #137, no?
Most elegant / efficient would be probably to never unzip but use GDALs virtual file system and adding /vsizip/
in front of import paths (at least when data is not just linked)...
from grass-addons.
The problem reported is that i.sentinel.import deletes the unzipped directories, not the zip file. Hence when using it together with i.sentinel.mask one needs to go through unzipping once again. Ideally we should have a flag then to keep the unzipped files.
If you never unzip by using the gdal vsizip as suggested, how would you then find the metadata file needed for i.sentinel.mask?? Does it also allow to read other types of files? Seems to me the unzipping is needed, or much better, a way to write and read the relevant info for i.sentinel.mask
somewhere else, so we don't need that metadata file anymore.
from grass-addons.
@veroandreo could this issue be closed?
from grass-addons.
yes, closing
from grass-addons.
Related Issues (20)
- [Bug] i.fusion.hpf can longer be installed with g.extension HOT 5
- v.db.pyupdate warning during installation
- [Feat] i.sentinel.import: handle processing baselines HOT 3
- [Bug] r.learn.train: depricated numpy.object HOT 1
- [Bug] i.sentinel.download: Support Copernicus Data Space Ecosystem Service
- [Bug] r.niche.similarity: error when running the module
- r.hydro.flatten: separate footprint of the impoundment from the downstream river
- Dependency Dashboard
- [Bug] Installing v.kriging fails HOT 2
- [Bug] r.fuzzy.set rounds shape/converts parameter decimal value to 0 HOT 6
- [Bug] v.surf.nnbathy: NameError: `StandardError` is not defined HOT 8
- Add per-test timeout for grass.gunittest tests
- Require the tests to pass in CI
- v.rast.move: empty keywords break addon overview script HOT 2
- [Bug] i.sentinel.download: give warning instead of errors if single files are corrupt
- v.surf.mass: Input should be vector "area" map? HOT 1
- [Bug] testsuite: do not run tests for deprecated module HOT 4
- [Bug] m.tnm.download and m.cdo.download fail to build on Windows server due to using external Python library requests
- r.stream.distance elevations with value of -1 [Bug]
- [Bug] Remove r.sim.water.mp from addons
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 grass-addons.