|
Re: Output to grib2?
Okay so I think that I can update the GRIB specific options using rio warp
ie: rio warp 1000_500_thick.grb 1000_500_thick_new2.grb --format GRIB --profile BAND_1_PDS_PDTN=
with BAND_1_PDS_PDTN being a
Okay so I think that I can update the GRIB specific options using rio warp
ie: rio warp 1000_500_thick.grb 1000_500_thick_new2.grb --format GRIB --profile BAND_1_PDS_PDTN=
with BAND_1_PDS_PDTN being a
|
By
Shane Mill - NOAA Affiliate
·
#162
·
|
|
issue with opening/closing datasets
Hi All,
I just listed an issue on the main github log. https://github.com/mapbox/rasterio/issues/1659
If anyone could take a look I would be very grateful.
Kind Regards,
Amine
Hi All,
I just listed an issue on the main github log. https://github.com/mapbox/rasterio/issues/1659
If anyone could take a look I would be very grateful.
Kind Regards,
Amine
|
By
Amine Aboufirass <amine.aboufirass@...>
·
#163
·
|
|
Re: Output to grib2?
Hi Shane,
I think I understand now. BAND_1_PDS_PDTN isn't a tag, it's a "creation option". You can apply these at the time you open a dataset for writing like
with rasterio.open("file.grb2", "w",
Hi Shane,
I think I understand now. BAND_1_PDS_PDTN isn't a tag, it's a "creation option". You can apply these at the time you open a dataset for writing like
with rasterio.open("file.grb2", "w",
|
By
Sean Gillies
·
#164
·
|
|
Re: Output to grib2?
Ah I see, I was confused then just because these come up when you "rio insp" and then "src.tags(1)", these creation options show up under the tags for band1.
That's very helpful so thanks for the
Ah I see, I was confused then just because these come up when you "rio insp" and then "src.tags(1)", these creation options show up under the tags for band1.
That's very helpful so thanks for the
|
By
Shane Mill - NOAA Affiliate
·
#165
·
|
|
Re: issue with opening/closing datasets
Hi Amine,
I think you have made in error in pasting code into the GitHub issue. The code you've given will fail at dataset = memfile.open because you haven't assigned memfile yet.
The message you see
Hi Amine,
I think you have made in error in pasting code into the GitHub issue. The code you've given will fail at dataset = memfile.open because you haven't assigned memfile yet.
The message you see
|
By
Sean Gillies
·
#166
·
|
|
Cloud-optimized GDAL VRT
We were discussing whether it would be possible to use `gdalbuildvrt` on several cloud-optimized GeoTIFF and obtain something that behaves like one big COG (which would be awesome to serve up large
We were discussing whether it would be possible to use `gdalbuildvrt` on several cloud-optimized GeoTIFF and obtain something that behaves like one big COG (which would be awesome to serve up large
|
By
mail@...
·
#167
·
|
|
Re: Cloud-optimized GDAL VRT
Hi Dion,
I encountered the same result couple month ago and couldn't get it to work. I asked Evan about it and see his answer here
Hi Dion,
I encountered the same result couple month ago and couldn't get it to work. I asked Evan about it and see his answer here
|
By
vincent.sarago@...
·
#168
·
|
|
Re: Cloud-optimized GDAL VRT
Huh, interesting. So only birds-eye overviews of VRTs should be expensive, which is to expected. Did you observe that in your tests? Did you ever go further and experiment with external overviews for
Huh, interesting. So only birds-eye overviews of VRTs should be expensive, which is to expected. Did you observe that in your tests? Did you ever go further and experiment with external overviews for
|
By
mail@...
·
#169
·
|
|
Re: issue with opening/closing datasets
Hi Sean, the issue is that I am writing functions where the output is often a rasterio dataset. I don't know if this can be accomplished using a with statement:
function open_raster(filename):
Hi Sean, the issue is that I am writing functions where the output is often a rasterio dataset. I don't know if this can be accomplished using a with statement:
function open_raster(filename):
|
By
Amine Aboufirass <amine.aboufirass@...>
·
#170
·
|
|
cannot find API reference anymore
Dear All,
I am quite sure that there used to be extensive online documentation in the following website:
https://rasterio.readthedocs.io/en/stable/api/rasterio.transform.html
What happened to it?
Dear All,
I am quite sure that there used to be extensive online documentation in the following website:
https://rasterio.readthedocs.io/en/stable/api/rasterio.transform.html
What happened to it?
|
By
Amine Aboufirass <amine.aboufirass@...>
·
#171
·
|
|
Re: issue with opening/closing datasets
Hi Amine,
The following will work if you are calling the two functions in the same module.
with open_raster('raster.tif') as dataset: # this gives you an implicit Env around the contained
Hi Amine,
The following will work if you are calling the two functions in the same module.
with open_raster('raster.tif') as dataset: # this gives you an implicit Env around the contained
|
By
Sean Gillies
·
#172
·
|
|
Re: issue with opening/closing datasets
Dear Sean,
I am slightly confused. You state the following:
I have two issues with the above statement:
Why are you closing the file if it is inside the with block? I thought one of the advantages
Dear Sean,
I am slightly confused. You state the following:
I have two issues with the above statement:
Why are you closing the file if it is inside the with block? I thought one of the advantages
|
By
Amine Aboufirass <amine.aboufirass@...>
·
#173
·
|
|
Re: issue with opening/closing datasets
Amine,
I'm sorry about the confusion. I would rather not comment on the structure of your application. Your original question was about the warnings being printed in your shell, yes? I pointed out
Amine,
I'm sorry about the confusion. I would rather not comment on the structure of your application. Your original question was about the warnings being printed in your shell, yes? I pointed out
|
By
Sean Gillies
·
#174
·
|
|
Re: cannot find API reference anymore
This issue has been resolved. Check the project issue tracker's recently closed issues for details.
This issue has been resolved. Check the project issue tracker's recently closed issues for details.
|
By
Sean Gillies
·
#175
·
|
|
Rewriting uint16 headers with rasterio / applying rio color makes them unreadable by Preview, Photoshop
Hi all, I'm new at this, more of a computer vision person than a developer, so please bear with me....
I see the behavior I'm about to describe running pip-installed rasterio (1.0.22) on my Mac (OSX
Hi all, I'm new at this, more of a computer vision person than a developer, so please bear with me....
I see the behavior I'm about to describe running pip-installed rasterio (1.0.22) on my Mac (OSX
|
By
Edward Boyda
·
#176
·
|
|
Rasterio and PROJ.6 ?
Dear Rasterio contributors ;-)
I installed the latest version of GDAL 2.4.1 with PROJ4 version 6 and I'm seeing this message "proj_create: init=epsg:/init=IGNF: syntax not supported in non-PROJ4
Dear Rasterio contributors ;-)
I installed the latest version of GDAL 2.4.1 with PROJ4 version 6 and I'm seeing this message "proj_create: init=epsg:/init=IGNF: syntax not supported in non-PROJ4
|
By
vincent.sarago@...
·
#177
·
|
|
Re: Rasterio and PROJ.6 ?
I reinstalled rasterio and it fixed itself. I think it was caused by environment variables
I reinstalled rasterio and it fixed itself. I think it was caused by environment variables
|
By
vincent.sarago@...
·
#178
·
|
|
Re: Rasterio and PROJ.6 ?
Vincent,
We haven't been testing with PROJ 6. It might work.
This commit https://github.com/mapbox/rasterio/commit/c5b0d911994ade823a7b5a969071c2c1bd860a11 should address the error message printed to
Vincent,
We haven't been testing with PROJ 6. It might work.
This commit https://github.com/mapbox/rasterio/commit/c5b0d911994ade823a7b5a969071c2c1bd860a11 should address the error message printed to
|
By
Sean Gillies
·
#179
·
|
|
Adding internal API reference links to the narrative docs
Hi all,
In the Rasterio quickstart guide I've added some links to API documentation. For example, see the "open()" link under the 2nd code block in
Hi all,
In the Rasterio quickstart guide I've added some links to API documentation. For example, see the "open()" link under the 2nd code block in
|
By
Sean Gillies
·
#180
·
|
|
Re: Rewriting uint16 headers with rasterio / applying rio color makes them unreadable by Preview, Photoshop
Hi Ed,
Can you try the following variation on your first command?
$ rio color -j 1 uint16_image.tif uint16_brightened.tif gamma RGB 1.5 --co photometric=RGB
Note the addition of "--co
Hi Ed,
Can you try the following variation on your first command?
$ rio color -j 1 uint16_image.tif uint16_brightened.tif gamma RGB 1.5 --co photometric=RGB
Note the addition of "--co
|
By
Sean Gillies
·
#181
·
|