[GRASS-user] Troubles withr.in.arc

I am trying to import some Esri ascii grid (*.ASC) with r.in.arc with Grass 6.3.0 under Fedora 9-64.

Everything seems to work, I actually can display the resulting raster but there is no ‘z’ data inside.

If I click for info all over the displayed raster, I get only the coordinates and an “*” for category value. If I ask for an histogram I get an empty one.

As far as I know, I have a valid ASC file as you can within the small sample below:

ncols 6000

nrows 6000

xllcorner -50.000416424533

yllcorner -20.000416448747

cellsize 0.00083333333333333

NODATA_value -9999

557 561 565 564 560 561 571 577 571 563 559 554 551 555 566 586 594 595 597 597

621 635 631 629 635 660 669 671 683 699 712 720 729 742 763 774 776 781 804 830

857 868 874 883 891 894 882 875 878 872 864 850 855 861 851 844 840 836 837 836

834 825 817 811 806 805 812 816 817 816 810 806 804 800 799 792 785 782 779 776

778 777 775 776 774 773 776 775 776 775 773 766 764 766 764 766 771 778 780 782

779 773 769 762 760 759 759 762 766 772 778 784 790 797 805 809 810 807 814 819

If I try to import with r.in.gdal, it says this is not a valid file.

I tried to import with r.in.arc using the defaults for the cell type (FCELL), or CELL or DCELL but it worked the same.

Does anyone know what I am missing?

Regards,

Adalberto

I don't understand. If you can display the raster how come the values
are all null (*)?

what command did you use for the import?

Daniel

On Thu, Nov 13, 2008 at 11:12 PM, Adalberto da Silva
<adalberto_s@uol.com.br> wrote:

I am trying to import some Esri ascii grid (*.ASC) with r.in.arc with Grass
6.3.0 under Fedora 9-64.

Everything seems to work, I actually can display the resulting raster but
there is no 'z' data inside.

If I click for info all over the displayed raster, I get only the
coordinates and an "*" for category value. If I ask for an histogram I get
an empty one.

As far as I know, I have a valid ASC file as you can within the small sample
below:

ncols 6000

nrows 6000

xllcorner -50.000416424533

yllcorner -20.000416448747

cellsize 0.00083333333333333

NODATA_value -9999

557 561 565 564 560 561 571 577 571 563 559 554 551 555 566 586 594 595 597
597

621 635 631 629 635 660 669 671 683 699 712 720 729 742 763 774 776 781 804
830

857 868 874 883 891 894 882 875 878 872 864 850 855 861 851 844 840 836 837
836

834 825 817 811 806 805 812 816 817 816 810 806 804 800 799 792 785 782 779
776

778 777 775 776 774 773 776 775 776 775 773 766 764 766 764 766 771 778 780
782

779 773 769 762 760 759 759 762 766 772 778 784 790 797 805 809 810 807 814
819

If I try to import with r.in.gdal, it says this is not a valid file.

I tried to import with r.in.arc using the defaults for the cell type
(FCELL), or CELL or DCELL but it worked the same.

Does anyone know what I am missing?

Regards,

Adalberto

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

On 14/11/08 14:30, Daniel Victoria wrote:

I don't understand. If you can display the raster how come the values
are all null (*)?

Sounds like a region issue.

Try g.region rast=YourMap.

Moritz

what command did you use for the import?

Daniel

On Thu, Nov 13, 2008 at 11:12 PM, Adalberto da Silva
<adalberto_s@uol.com.br> wrote:

I am trying to import some Esri ascii grid (*.ASC) with r.in.arc with Grass
6.3.0 under Fedora 9-64.

Everything seems to work, I actually can display the resulting raster but
there is no 'z' data inside.

If I click for info all over the displayed raster, I get only the
coordinates and an "*" for category value. If I ask for an histogram I get
an empty one.

As far as I know, I have a valid ASC file as you can within the small sample
below:

ncols 6000

nrows 6000

xllcorner -50.000416424533

yllcorner -20.000416448747

cellsize 0.00083333333333333

NODATA_value -9999

557 561 565 564 560 561 571 577 571 563 559 554 551 555 566 586 594 595 597
597

621 635 631 629 635 660 669 671 683 699 712 720 729 742 763 774 776 781 804
830

857 868 874 883 891 894 882 875 878 872 864 850 855 861 851 844 840 836 837
836

834 825 817 811 806 805 812 816 817 816 810 806 804 800 799 792 785 782 779
776

778 777 775 776 774 773 776 775 776 775 773 766 764 766 764 766 771 778 780
782

779 773 769 762 760 759 759 762 766 772 778 784 790 797 805 809 810 807 814
819

If I try to import with r.in.gdal, it says this is not a valid file.

I tried to import with r.in.arc using the defaults for the cell type
(FCELL), or CELL or DCELL but it worked the same.

Does anyone know what I am missing?

Regards,

Adalberto

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user