[GRASS-user] GeoTIFF output question (number of bytes divisible by 8?)

I am using

r.out.tiff -t input=fcms@PERMANENT output=/home/ssefick/Desktop/fcms.tiff

for input into the tauDEM pitremove function (compiled from source)

and I am getting a

Must be multiple of 8 (a byte) error

I know that this is not a part of GRASS, but I was wondering if some
knew how to make the output of the GRASS command export a compliant
GEOTIFF

thanks for all of your help,

--
Stephen Sefick
____________________________________
| Auburn University |
| Department of Biological Sciences |
| 331 Funchess Hall |
| Auburn, Alabama |
| 36849 |
|___________________________________|
| sas0025@auburn.edu |
| http://www.auburn.edu/~sas0025 |
|___________________________________|

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.

                            \-K\. Mullis

stephen sefick wrote:

I am using

r.out.tiff -t input=fcms@PERMANENT output=/home/ssefick/Desktop/fcms.tiff

Use
r.out.gdal input=fcms@PERMANENT output=/home/ssefick/Desktop/fcms.tiff

for input into the tauDEM pitremove function (compiled from source)

BTW, with r.out.tiff you get a standard tiff image with color values
(0 - 255, 3 bands for RGB), not elevation values.

Markus M

Thank you- I will figure all of this out one day... I thank you all
for your kind support.
kindest regards,

Stephen Sefick

On Mon, Aug 9, 2010 at 8:05 AM, Markus Metz
<markus.metz.giswork@googlemail.com> wrote:

stephen sefick wrote:

I am using

r.out.tiff -t input=fcms@PERMANENT output=/home/ssefick/Desktop/fcms.tiff

Use
r.out.gdal input=fcms@PERMANENT output=/home/ssefick/Desktop/fcms.tiff

for input into the tauDEM pitremove function (compiled from source)

BTW, with r.out.tiff you get a standard tiff image with color values
(0 - 255, 3 bands for RGB), not elevation values.

Markus M

--
Stephen Sefick
____________________________________
| Auburn University |
| Department of Biological Sciences |
| 331 Funchess Hall |
| Auburn, Alabama |
| 36849 |
|___________________________________|
| sas0025@auburn.edu |
| http://www.auburn.edu/~sas0025 |
|___________________________________|

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.

                            \-K\. Mullis

If anyone is interested I had to export the files in AAIGrid format
with a no data value =0 (elevations well above sea level) and then use
gdal_translate to turn this into a geotiff.

GRASS GIS out
r.out.gdal input=fcms@PERMANENT output=/home/ssefick/Desktop/fcms
nodata=0 format=AAIGrid

#translate to goetiff
gdal_translate -of GTIFF fcms fcms_g.tiff

then tauDEM command line functions seem to work fine.

If I am missing something please inform me.

Again, thanks for all of the help!

Stephen Sefick

On Mon, Aug 9, 2010 at 8:06 AM, stephen sefick <ssefick@gmail.com> wrote:

Thank you- I will figure all of this out one day... I thank you all
for your kind support.
kindest regards,

Stephen Sefick

On Mon, Aug 9, 2010 at 8:05 AM, Markus Metz
<markus.metz.giswork@googlemail.com> wrote:

stephen sefick wrote:

I am using

r.out.tiff -t input=fcms@PERMANENT output=/home/ssefick/Desktop/fcms.tiff

Use
r.out.gdal input=fcms@PERMANENT output=/home/ssefick/Desktop/fcms.tiff

for input into the tauDEM pitremove function (compiled from source)

BTW, with r.out.tiff you get a standard tiff image with color values
(0 - 255, 3 bands for RGB), not elevation values.

Markus M

--
Stephen Sefick
____________________________________
| Auburn University |
| Department of Biological Sciences |
| 331 Funchess Hall |
| Auburn, Alabama |
| 36849 |
|___________________________________|
| sas0025@auburn.edu |
| http://www.auburn.edu/~sas0025 |
|___________________________________|

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.

                            \-K\. Mullis

--
Stephen Sefick
____________________________________
| Auburn University |
| Department of Biological Sciences |
| 331 Funchess Hall |
| Auburn, Alabama |
| 36849 |
|___________________________________|
| sas0025@auburn.edu |
| http://www.auburn.edu/~sas0025 |
|___________________________________|

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.

                            \-K\. Mullis

stephen sefick wrote:

If anyone is interested I had to export the files in AAIGrid format

Why did export directly to GeoTIFF not work?

with a no data value =0 (elevations well above sea level) and then use
gdal_translate to turn this into a geotiff.

GRASS GIS out
r.out.gdal input=fcms@PERMANENT output=/home/ssefick/Desktop/fcms
nodata=0 format=AAIGrid

#translate to goetiff
gdal_translate -of GTIFF fcms fcms_g.tiff

then tauDEM command line functions seem to work fine.

If I am missing something please inform me.

Again, thanks for all of the help!

Stephen Sefick

On Mon, Aug 9, 2010 at 8:06 AM, stephen sefick <ssefick@gmail.com> wrote:

Thank you- I will figure all of this out one day... I thank you all
for your kind support.
kindest regards,

Stephen Sefick

On Mon, Aug 9, 2010 at 8:05 AM, Markus Metz
<markus.metz.giswork@googlemail.com> wrote:

stephen sefick wrote:

I am using

r.out.tiff -t input=fcms@PERMANENT output=/home/ssefick/Desktop/fcms.tiff

Use
r.out.gdal input=fcms@PERMANENT output=/home/ssefick/Desktop/fcms.tiff

for input into the tauDEM pitremove function (compiled from source)

BTW, with r.out.tiff you get a standard tiff image with color values
(0 - 255, 3 bands for RGB), not elevation values.

Markus M

--
Stephen Sefick
____________________________________
| Auburn University |
| Department of Biological Sciences |
| 331 Funchess Hall |
| Auburn, Alabama |
| 36849 |
|___________________________________|
| sas0025@auburn.edu |
| http://www.auburn.edu/~sas0025 |
|___________________________________|

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.

                            \-K\. Mullis

--
Stephen Sefick
____________________________________
| Auburn University |
| Department of Biological Sciences |
| 331 Funchess Hall |
| Auburn, Alabama |
| 36849 |
|___________________________________|
| sas0025@auburn.edu |
| http://www.auburn.edu/~sas0025 |
|___________________________________|

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.

                            \-K\. Mullis

no data not defined is the error message with a straight write out in
geotiff when fed into tauDEM.

I am at a loss for why this would not work.

On Mon, Aug 9, 2010 at 9:36 AM, Markus Metz
<markus.metz.giswork@googlemail.com> wrote:

stephen sefick wrote:

If anyone is interested I had to export the files in AAIGrid format

Why did export directly to GeoTIFF not work?

with a no data value =0 (elevations well above sea level) and then use
gdal_translate to turn this into a geotiff.

GRASS GIS out
r.out.gdal input=fcms@PERMANENT output=/home/ssefick/Desktop/fcms
nodata=0 format=AAIGrid

#translate to goetiff
gdal_translate -of GTIFF fcms fcms_g.tiff

then tauDEM command line functions seem to work fine.

If I am missing something please inform me.

Again, thanks for all of the help!

Stephen Sefick

On Mon, Aug 9, 2010 at 8:06 AM, stephen sefick <ssefick@gmail.com> wrote:

Thank you- I will figure all of this out one day... I thank you all
for your kind support.
kindest regards,

Stephen Sefick

On Mon, Aug 9, 2010 at 8:05 AM, Markus Metz
<markus.metz.giswork@googlemail.com> wrote:

stephen sefick wrote:

I am using

r.out.tiff -t input=fcms@PERMANENT output=/home/ssefick/Desktop/fcms.tiff

Use
r.out.gdal input=fcms@PERMANENT output=/home/ssefick/Desktop/fcms.tiff

for input into the tauDEM pitremove function (compiled from source)

BTW, with r.out.tiff you get a standard tiff image with color values
(0 - 255, 3 bands for RGB), not elevation values.

Markus M

--
Stephen Sefick
____________________________________
| Auburn University |
| Department of Biological Sciences |
| 331 Funchess Hall |
| Auburn, Alabama |
| 36849 |
|___________________________________|
| sas0025@auburn.edu |
| http://www.auburn.edu/~sas0025 |
|___________________________________|

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.

                            \-K\. Mullis

--
Stephen Sefick
____________________________________
| Auburn University |
| Department of Biological Sciences |
| 331 Funchess Hall |
| Auburn, Alabama |
| 36849 |
|___________________________________|
| sas0025@auburn.edu |
| http://www.auburn.edu/~sas0025 |
|___________________________________|

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.

                            \-K\. Mullis

--
Stephen Sefick
____________________________________
| Auburn University |
| Department of Biological Sciences |
| 331 Funchess Hall |
| Auburn, Alabama |
| 36849 |
|___________________________________|
| sas0025@auburn.edu |
| http://www.auburn.edu/~sas0025 |
|___________________________________|

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.

                            \-K\. Mullis