[GRASS-user] how to know raster color table

2012-08-20 Thread Eduardo Klein

Hi,

I have a raster layer and I want to know what color table or rules are 
currently assigned to it. r.info nor r.colors give me the info...


Thanks, EKS

--
Eduardo Klein
Lab. Sensores Remotos y Análisis Geo-Espacial
Centro de Biodiversidad Marina
Universidad Simón Bolívar
Caracas, Venezuela
ph 58-212-906-3111 ext 6700
fax 58-212-906-3111 ext 6701
http://lsr.cbm.usb.ve
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] NetCDF rotated pole

2012-03-21 Thread Eduardo Klein

Michael,

Thanks a lot for the instructions. It worked perfectly on my files!

Saludos, EKS


On 03/20/2012 05:42 PM, Michael Barton wrote:

Edwardo,

I am attaching a PDF and RTF of the workflow I used to import paleocurrent data 
from a NetCDF file with rotated poles. While it may not exactly match your 
file, it should give you an idea of how to proceed. Let me know how it comes 
out.





Michael

On Mar 20, 2012, at 6:18 AM, Eduardo Klein wrote:


Thanks Michael, your advice will be much appreciated!.

Saludos, EKS


On 03/19/2012 04:39 PM, Michael Barton wrote:

I'm at NCAR right now and I'm doing that very thing today in fact.

Once I have an answer as to the difference between TLAT and ULAT, and TLONG and 
ULONG within the NetCDF files, I'll be able to give you a full work flow for 
this.

Michael

On Mar 19, 2012, at 2:44 PM,grass-user-requ...@lists.osgeo.org   wrote:


Message: 3
Date: Mon, 19 Mar 2012 13:20:33 -0430
From: Eduardo Kleinekl...@usb.ve
Subject: [GRASS-user] NetCDF rotated pole
To: grass-user@lists.osgeo.org
Message-ID:4f6771e9.2080...@usb.ve
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi,

Is there any way to read a NetCDF file which has a rotated pole Mercator
projection and have it inside GRASS with the North pole at North?

I'm trying to use AVISO SSH products on GRASS 6.4.1 and gdal 1.8.0

Thanks!

--
Eduardo Klein
Lab Sensores Remotos e
Instituto de Tecnolog?a y Ciencias Marinas
Universidad Sim?n Bol?var
Caracas, Venezuela
ph (58) (212) 906-3111 ext 6700
fax (58) (212( 906-3111 ext 6701


_
C. Michael Barton
Visiting Scientist, Integrated Science Program
National Center for Atmospheric Research
University Corporation for Atmospheric Research
303-497-2889 (voice)

Director, Center for Social Dynamics   Complexity
Professor of Anthropology, School of Human Evolution   Social Change
Arizona State University
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu



--
Eduardo Klein
Lab Sensores Remotos e
Instituto de Tecnología y Ciencias Marinas
Universidad Simón Bolívar
Caracas, Venezuela
ph (58) (212) 906-3111 ext 6700
fax (58) (212( 906-3111 ext 6701


_
C. Michael Barton
Visiting Scientist, Integrated Science Program
National Center for Atmospheric Research
University Consortium for Atmospheric Research
303-497-2889 (voice)

Director, Center for Social Dynamics  Complexity
Professor of Anthropology, School of Human Evolution  Social Change
Arizona State University
www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu







--
Eduardo Klein
Lab Sensores Remotos e
Instituto de Tecnología y Ciencias Marinas
Universidad Simón Bolívar
Caracas, Venezuela
ph (58) (212) 906-3111 ext 6700
fax (58) (212( 906-3111 ext 6701
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] NetCDF rotated pole

2012-03-19 Thread Eduardo Klein

Hi,

Is there any way to read a NetCDF file which has a rotated pole Mercator 
projection and have it inside GRASS with the North pole at North?


I'm trying to use AVISO SSH products on GRASS 6.4.1 and gdal 1.8.0

Thanks!

--
Eduardo Klein
Lab Sensores Remotos e
Instituto de Tecnología y Ciencias Marinas
Universidad Simón Bolívar
Caracas, Venezuela
ph (58) (212) 906-3111 ext 6700
fax (58) (212( 906-3111 ext 6701
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] r.topmodel

2012-01-20 Thread Eduardo Klein

Hi,

Is there any good and recent detailed reference and examples on how to 
run r.topmodel? I've found only several old dicussions on the topic.


Thanks, EKS

--
Eduardo Klein
Lab Sensores Remotos e
Instituto de Tecnología y Ciencias Marinas
Universidad Simón Bolívar
Caracas, Venezuela
ph (58) (212) 906-3111 ext 6700
fax (58) (212( 906-3111 ext 6701
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] problem with g.extension

2011-01-12 Thread Eduardo Klein

Hi,
I'm trying to install an extension (v.mkhexgrid) using g.extension and after

g.extension extension=v.mkgrid

I get the following error message:

Fetching v.mkhexgrid from GRASS-Addons SVN (be patient)...
Av.mkhexgrid/description.html
Av.mkhexgrid/v.mkhexgrid
Av.mkhexgrid/Makefile
Checked out revision 44986.
Compiling v.mkhexgrid...
Makefile:5: /usr/lib/grass64/include/Make/Script.make: No such file or 
directory
make: *** No rule to make target 
`/usr/lib/grass64/include/Make/Script.make'.  Stop.

ERROR: Compilation failed, sorry. Please check above error messages.

I'm on ubuntu 10.04, grass 6.4 and my $GISBASE is /usr/lib/grass64
The directory /usr/lib/grass64/include/Make/ does exists (but it is empty).

Any help?

Saludos, EKS


--
Eduardo Klein
Lab Sensores Remotos e
Instituto de Tecnología y Ciencias Marinas
Universidad Simón Bolívar
Caracas, Venezuela
ph (58) (212) 906-3111 ext 6700
fax (58) (212( 906-3111 ext 6701
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] problem with g.extension

2011-01-12 Thread Eduardo Klein
Thanks, you're right. But still, after installing the missing package 
and fixing some permissions problems, I'm getting some errors. The first 
of them:


make[82]: Entering directory 
`/home/eklein/grassdata/usb/PERMANENT/.tmp/diodon/7414.0/v.mkhexgrid'
if [ 
/build/buildd/grass-6.4.0/dist.i486-pc-linux-gnu/scripts/v.mkhexgrid 
!=  ] ; then 
GISRC=/build/buildd/grass-6.4.0/dist.i486-pc-linux-gnu/demolocation/.grassrc64 
GISBASE=/build/buildd/grass-6.4.0/dist.i486-pc-linux-gnu 
PATH=/build/buildd/grass-6.4.0/dist.i486-pc-linux-gnu/bin:$PATH 
LD_LIBRARY_PATH=/build/buildd/grass-6.4.0/dist.i486-pc-linux-gnu/bin:/build/buildd/grass-6.4.0/dist.i486-pc-linux-gnu/lib:/usr/lib/grass64/lib 
LC_ALL=C fakeroot 
/build/buildd/grass-6.4.0/dist.i486-pc-linux-gnu/scripts/v.mkhexgrid 
--html-description  /dev/null | grep -v '/body\|/html'  
v.mkhexgrid.tmp.html ; true ; fi

ERROR: G_getenv(): Variable LOCATION_NAME not set

Any ideas?

Saludos, EKS


On 01/12/2011 11:57 AM, Martin Landa wrote:

2011/1/12 Eduardo Kleinekl...@usb.ve:

I'm on ubuntu 10.04, grass 6.4 and my $GISBASE is /usr/lib/grass64
The directory /usr/lib/grass64/include/Make/ does exists (but it is empty).


missing grass-dev package.

Martin



--
Eduardo Klein
Lab Sensores Remotos e
Instituto de Tecnología y Ciencias Marinas
Universidad Simón Bolívar
Caracas, Venezuela
ph (58) (212) 906-3111 ext 6700
fax (58) (212( 906-3111 ext 6701
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] modis ocean and r.in.gdal

2010-12-02 Thread Eduardo Klein

Hola Gustavo,

It seems to be a problem with the projection and the boundaries. The 
previous gdal_translate command ran OK?


Saludos, EKS


On 12/02/2010 05:34 PM, Gustavo wrote:

Hi everyone,

I am trying to import some L3 MODIS satellite images into GRASS 6.4 by
following the instructions from:

http://grass.osgeo.org/wiki/MODIS#Import

  I've tried method 1 and 2 but I got some error messages.
I've installed the grass6.5 snapshot from 27/11 and when run the following
command:

r.in.gdal -l -o in=HDF4_SDS:UNKNOWN:A2010021.L3m_DAY_NSST_4:0
out=A2010021.L3m_DAY_NSST_4

I got some errors:

WARNING: Map bounds have been constrained to geographic coordinates. You
  will almost certainly want to check map bounds and resolution with
  r.info and reset them with r.region before going any further.
WARNING: Over-riding projection check
ERROR 1: SDreaddata() failed for block.
ERROR 1: IReadBlock failed at X offset 0, Y offset 0
ERROR 1: GetBlockRef failed at X block offset 0, Y block offset 0
ERROR 1: SDreaddata() failed for block.
ERROR 1: IReadBlock failed at X offset 0, Y offset 1
ERROR 1: GetBlockRef failed at X block offset 0, Y block offset 1
ERROR 1: SDreaddata() failed for block.
.
.
.
ERROR 1: IReadBlock failed at X offset 0, Y offset 332
ERROR 1: GetBlockRef failed at X block offset 0, Y block offset 332
ERROR 1: SDreaddata() failed for block.
More than 1000 errors or warnings have been reported. No more will be reported
from now.
  100%
r.in.gdal complete. Raster mapA2010021.L3m_DAY_NSST_4  created.

When I loaded the raster and tried r.what, I got 0 everywhere.

What can I do?
Thanks,

Gustavo Martínez
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


--
Eduardo Klein
Lab Sensores Remotos e
Instituto de Tecnología y Ciencias Marinas
Universidad Simón Bolívar
Caracas, Venezuela
ph (58) (212) 906-3111 ext 6700
fax (58) (212( 906-3111 ext 6701
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] modis ocean and r.in.gdal

2010-12-02 Thread Eduardo Klein
Gustavo, are you working with the SMI/HDF product? I've just run the 
script in grass 6.4.0 and it worked perfect. Check with gdalinfo the 
name of the subset to process (usually something like 
HDF4_SDS:UNKNOWN:A20101292010136.L3m_8D_SST_9:0)


Saludos, EKS


On 12/02/2010 06:19 PM, Gustavo wrote:

Hola Eduardo,

although the error message corresponded to the grass6.5 r.in.gdal, when I
tried method 1 with gdal_translate, the error was the same.

Gustavo

On Jue 02 Dic 2010 19:24:04 Eduardo Klein escribió:

Hola Gustavo,

It seems to be a problem with the projection and the boundaries. The
previous gdal_translate command ran OK?

Saludos, EKS

On 12/02/2010 05:34 PM, Gustavo wrote:

Hi everyone,

I am trying to import some L3 MODIS satellite images into GRASS 6.4 by
following the instructions from:

http://grass.osgeo.org/wiki/MODIS#Import

   I've tried method 1 and 2 but I got some error messages.
I've installed the grass6.5 snapshot from 27/11 and when run the
following command:

r.in.gdal -l -o in=HDF4_SDS:UNKNOWN:A2010021.L3m_DAY_NSST_4:0
out=A2010021.L3m_DAY_NSST_4

I got some errors:

WARNING: Map bounds have been constrained to geographic coordinates. You
   will almost certainly want to check map bounds and resolution
with r.info and reset them with r.region before going any further.
WARNING: Over-riding projection check
ERROR 1: SDreaddata() failed for block.
ERROR 1: IReadBlock failed at X offset 0, Y offset 0
ERROR 1: GetBlockRef failed at X block offset 0, Y block offset 0
ERROR 1: SDreaddata() failed for block.
ERROR 1: IReadBlock failed at X offset 0, Y offset 1
ERROR 1: GetBlockRef failed at X block offset 0, Y block offset 1
ERROR 1: SDreaddata() failed for block.
.
.
.
ERROR 1: IReadBlock failed at X offset 0, Y offset 332
ERROR 1: GetBlockRef failed at X block offset 0, Y block offset 332
ERROR 1: SDreaddata() failed for block.
More than 1000 errors or warnings have been reported. No more will be
reported from now.
   100%
r.in.gdal complete. Raster mapA2010021.L3m_DAY_NSST_4   created.

When I loaded the raster and tried r.what, I got 0 everywhere.

What can I do?
Thanks,

Gustavo Martínez
___
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


--
Eduardo Klein
Lab Sensores Remotos e
Instituto de Tecnología y Ciencias Marinas
Universidad Simón Bolívar
Caracas, Venezuela
ph (58) (212) 906-3111 ext 6700
fax (58) (212( 906-3111 ext 6701
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user