|
reading hdf4 files with rasterio
Dear All,
Is there a way to read and write hdf4 datasets using rasterio? I am working with DAAC data, for example
Dear All,
Is there a way to read and write hdf4 datasets using rasterio? I am working with DAAC data, for example
|
By
Amine Aboufirass <amine.aboufirass@...>
·
#341
·
|
|
Clarification on rio bounds --sequence/--collection
Hi,
In the usage description of `rio bounds --help`
```
...
--sequence / --collection Write a LF-delimited sequence of texts containing
individual objects (the default)
Hi,
In the usage description of `rio bounds --help`
```
...
--sequence / --collection Write a LF-delimited sequence of texts containing
individual objects (the default)
|
By
Yann-Sebastien Tremblay-Johnston
·
#340
·
|
|
Re: Occasional "not recognized as a supported file format" errors when reading from S3
Hey Sean,
I don't know if you've seen our update on the rasterio issue tracker:
https://github.com/mapbox/rasterio/issues/1686#issuecomment-541737735
As it turns out,
Hey Sean,
I don't know if you've seen our update on the rasterio issue tracker:
https://github.com/mapbox/rasterio/issues/1686#issuecomment-541737735
As it turns out,
|
By
Dion Häfner
·
#339
·
|
|
Re: Flaw in rasterio design?
Hi all,
Since I haven't written much about Rasterio's design principles or goals beyond what is at https://rasterio.readthedocs.io/en/latest/intro.html#philosophy it is only natural that these
Hi all,
Since I haven't written much about Rasterio's design principles or goals beyond what is at https://rasterio.readthedocs.io/en/latest/intro.html#philosophy it is only natural that these
|
By
Sean Gillies
·
#338
·
|
|
Re: Flaw in rasterio design?
Dear Alan,
I just had a look. It looks like they are in fact taking those things into consideration. Very exciting. I can't wait to put this to use.
On another note, such a library would not have
Dear Alan,
I just had a look. It looks like they are in fact taking those things into consideration. Very exciting. I can't wait to put this to use.
On another note, such a library would not have
|
By
Amine Aboufirass <amine.aboufirass@...>
·
#337
·
|
|
Re: Flaw in rasterio design?
Hi Alan,
Thanks for your response. I am now a bit more intrigued by xarray, but I have a couple of questions:
Wouldn't you then lose all geospatial information? Things like affine and CRS are really
Hi Alan,
Thanks for your response. I am now a bit more intrigued by xarray, but I have a couple of questions:
Wouldn't you then lose all geospatial information? Things like affine and CRS are really
|
By
Amine Aboufirass <amine.aboufirass@...>
·
#336
·
|
|
Re: Flaw in rasterio design?
Hi Amine,
rasterio is definitely a great tool. But, if you are looking for an interface to it similar to pandas, you may be interested in rioxarray. It wraps the rasterio code and gives you an xarray
Hi Amine,
rasterio is definitely a great tool. But, if you are looking for an interface to it similar to pandas, you may be interested in rioxarray. It wraps the rasterio code and gives you an xarray
|
By
Alan Snow
·
#335
·
|
|
Re: Flaw in rasterio design?
If it is intentional design then there is probably a reason for it. However it comes at a severe cost of useability. One of the main advantages of python is that users don't really need to know much
If it is intentional design then there is probably a reason for it. However it comes at a severe cost of useability. One of the main advantages of python is that users don't really need to know much
|
By
Amine Aboufirass <amine.aboufirass@...>
·
#334
·
|
|
Re: Flaw in rasterio design?
There are some libraries that try and implement a raster datatype, which rasterio explicitly does not. Strangely, none of them is as successful as rasterio.
I see rasterio as a tool to get the job
There are some libraries that try and implement a raster datatype, which rasterio explicitly does not. Strangely, none of them is as successful as rasterio.
I see rasterio as a tool to get the job
|
By
Dion Häfner
·
#333
·
|
|
Re: Flaw in rasterio design?
Hi Dion,
As an experienced user you find yourself juggling between dataset objects and arrays/transform objects way too often. It slows down the workflow and makes rasterio a pain to use. The choice
Hi Dion,
As an experienced user you find yourself juggling between dataset objects and arrays/transform objects way too often. It slows down the workflow and makes rasterio a pain to use. The choice
|
By
Amine Aboufirass <amine.aboufirass@...>
·
#332
·
|
|
Re: Flaw in rasterio design?
Hey Amine,
usually there are enough functions to allow you to have your cake and eat it, too.
Instead of reproject, I usually find myself using a VRT. An alternative to mask that returns an ndarray
Hey Amine,
usually there are enough functions to allow you to have your cake and eat it, too.
Instead of reproject, I usually find myself using a VRT. An alternative to mask that returns an ndarray
|
By
Dion Häfner
·
#331
·
|
|
Flaw in rasterio design?
Dear All,
Does anyone have any difficulty with input and output datatypes for rasterio functions in general? Many of the python functions in the library have inconsistent input and output. For
Dear All,
Does anyone have any difficulty with input and output datatypes for rasterio functions in general? Many of the python functions in the library have inconsistent input and output. For
|
By
Amine Aboufirass <amine.aboufirass@...>
·
#330
·
|
|
masking using another raster
Hi all,
Simple question, but I want to make sure I'm doing this the canonical way.
Assume two single-band rasters with identical projections/transforms and one of the rasters has NODATA pixels
Hi all,
Simple question, but I want to make sure I'm doing this the canonical way.
Assume two single-band rasters with identical projections/transforms and one of the rasters has NODATA pixels
|
By
Gregory, Matthew
·
#329
·
|
|
Rasterio 1.1.0
Hi all,
Rasterio 1.1.0 is on PyPI now. There have been no changes since 1.1b3.
Thanks for your help, everyone!
--
Sean Gillies
Hi all,
Rasterio 1.1.0 is on PyPI now. There have been no changes since 1.1b3.
Thanks for your help, everyone!
--
Sean Gillies
|
By
Sean Gillies
·
#328
·
|
|
Rasterio 1.1b3
Vincent Sarago brought a regression to my attention. It is fixed in 1.1b3, which is on PyPI now. I've used a couple of my team's projects to smoke test 1.1b3 and it seems to be ready to go. Let me
Vincent Sarago brought a regression to my attention. It is fixed in 1.1b3, which is on PyPI now. I've used a couple of my team's projects to smoke test 1.1b3 and it seems to be ready to go. Let me
|
By
Sean Gillies
·
#327
·
|
|
Re: gdal_translate -projwin with rasterio
Haha, then I didn't my due diligence either. :)
Haha, then I didn't my due diligence either. :)
|
By
James McBride
·
#326
·
|
|
Re: gdal_translate -projwin with rasterio
You are right James, I had not done my due diligence thoroughly :)
The issue you are referring to must be this PR: https://github.com/mapbox/rasterio/pull/1565
There was also some more recent
You are right James, I had not done my due diligence thoroughly :)
The issue you are referring to must be this PR: https://github.com/mapbox/rasterio/pull/1565
There was also some more recent
|
By
Guillaume Lostis
·
#325
·
|
|
Re: gdal_translate -projwin with rasterio
I've wondered the same (and think even asked about it within another issue? though maybe I just thought about doing that). I'd be happy to add support for `round` if there's no opposition from Sean or
I've wondered the same (and think even asked about it within another issue? though maybe I just thought about doing that). I'd be happy to add support for `round` if there's no opposition from Sean or
|
By
James McBride
·
#324
·
|
|
gdal_translate -projwin with rasterio
Hi all,
I am trying to rewrite some legacy code that was using gdal_translate -projwin to use rasterio.The goal of the code is just to crop an image, given geographical bounds in the CRS of the
Hi all,
I am trying to rewrite some legacy code that was using gdal_translate -projwin to use rasterio.The goal of the code is just to crop an image, given geographical bounds in the CRS of the
|
By
Guillaume Lostis
·
#323
·
|
|
Rasterio 1.1b1
Hi all,
A pre-release of Rasterio 1.1 is on PyPI now. Please try it out if you can and see if you can find any new bugs before we have a 1.1.0 release as soon as tomorrow.
Thanks!
--
Sean Gillies
Hi all,
A pre-release of Rasterio 1.1 is on PyPI now. Please try it out if you can and see if you can find any new bugs before we have a 1.1.0 release as soon as tomorrow.
Thanks!
--
Sean Gillies
|
By
Sean Gillies
·
#322
·
|