Comments (3)
I hadn't seen this so thanks for finding. It should be fixed in 1156e2f.
from geowombat.
Same issue, new place
bounds = (793475.76, 2049033.03, 794222.03, 2049527.24)
with gw.open(rgbn,
band_names=['green', 'red', 'nir'],
num_workers=8,
indexes=[2, 3, 4],
bounds=bounds,
out_dtype='float32') as src:
print(src)
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
~/Documents/github/pyGIS/pygis/docs/test.py in
1196 indexes=[2, 3, 4],
1197 bounds=bounds,
----> 1198 out_dtype='float32') as src:
1199 print(src)
1200
~/anaconda3/envs/pygisbookgw/lib/python3.7/site-packages/geowombat/core/api.py in __init__(self, filename, band_names, time_names, stack_dim, bounds, bounds_by, resampling, persist_filenames, mosaic, overlap, nodata, dtype, num_workers, **kwargs)
402 chunks=chunks,
403 num_workers=num_workers,
--> 404 **kwargs)
405
406 self.__filenames = [filename]
~/anaconda3/envs/pygisbookgw/lib/python3.7/site-packages/geowombat/core/api.py in read(filename, band_names, time_names, bounds, chunks, num_workers, **kwargs)
172
173 if bounds and ('window' not in kwargs):
--> 174 kwargs['window'] = from_bounds(*bounds, transform=src.gw.transform)
175
176 ycoords, xcoords, attrs = get_attrs(src, **kwargs)
AttributeError: 'DatasetReader' object has no attribute 'gw'
from geowombat.
Added a fix in 5d79796.
from geowombat.
Related Issues (20)
- Extra install examples fail; coreg extra builds unwanted GDAL version HOT 3
- config issue? HOT 11
- ml install HOT 2
- Ubuntu 22.4 & conda HOT 3
- AttributeError: type object 'threadpool_limits' has no attribute 'wrap' HOT 5
- Newer versions (> 1.2.0) do not work with Intel OpenMP installed HOT 15
- `python setup.py sdist` fails to find metadata HOT 4
- Resample leaves no data blocks into Sentinel2 image HOT 2
- geowombat save functionality not working HOT 15
- typo in mosaic min option HOT 3
- to_raster 'compress' functionality 'FileExistsError:' HOT 4
- Problem installing gewombat from git clone HOT 4
- conda-forge fail HOT 1
- Array clip failure HOT 2
- Masking with reproject HOT 1
- Google SEO HOT 8
- DOCS Index
- conda-forge issues HOT 13
- angles tests HOT 2
- conda optional extras HOT 13
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 geowombat.