Comments (6)
Please be careful with the order of parameters to keep compatibility. I am also not sure how useful this is, why would you read in the whole image and then only use a subset of it? Would it not be better to read in a subset from the start?
from ukis-pysat.
To work on a subset of an image can be very useful and efficient. I agree with you that reading in a subset from the start would be the better option. @fwfichtner Can we add a subset option (like windowed reading) to Image initialization?
from ukis-pysat.
It is quite simple and already there if you want. You can read in the subset like in this example and the initialize Image
with the windowed dataset
.
from ukis-pysat.
Thanks for the example. It seems to work with image coordinates though. Wouldnt it be desirable to have this work with real world coordinates? We could provide this as a convenience call option in ukis-pysat, which could proof an added value compared to plain rasterio windowed reading. Curious about your opinion.
from ukis-pysat.
This you can solve using rasterio.windows.from_bounds
. I guess what I'm saying is that we would just put something inside which already exists outside and is more accessible there.
from ukis-pysat.
Alright in this case I agree. Did not know about this rasterio method. Thanks for clarifying. Closing this issue.
from ukis-pysat.
Related Issues (20)
- Use mock requests for testing
- Fix skipped unittests
- According to Specs Wrong datetime used
- Querying metadata should return an iterator instead of a catalog
- Test different STAC API endpoints HOT 1
- Evaluate stactools HOT 5
- Remove platform from download_image()
- Evaluate more STAC extensions HOT 1
- Expose streaming possibility HOT 2
- download_image error using EarthExplorer
- Update OA hub URL
- Update Readme HOT 1
- Add tests for #144
- Download Method Conflict in SCIHUB and EARTHEXPLORER HOT 3
- Follow STAC best practices HOT 3
- Use pystac-client instead of own implementation HOT 2
- Properly use USGS M2M also for downloading
- Update dependencies
- Sentinel-2 DN2TOA conversion incorrect for images after January 2022
- Deprecate Data HOT 1
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 ukis-pysat.