Re: [GRASS-user] HDF-5 parse

2010-02-23 Thread Markus Neteler
On Tue, Feb 23, 2010 at 10:16 AM, Pedro Roma wrote: > By using > gdalinfo HDF5:"/mnt/GIS/DATA/HDF5_DATA_MSG_FAPAR_Euro_20070222"://FAPAR > I get: > Driver: HDF5Image/HDF5 Dataset > Files: none associated > Size is 1701, 651 > Coordinate System is: > GEOGCS["WGS 84", >     DATUM["WGS_1984", >  

Fwd: [GRASS-user] HDF-5 parse

2010-02-23 Thread Pedro Roma
Hey > Not necessarily. It is also possible that GCPs are stored and gdalwarp > needs to be > used first to obtain a really geocoded file. > > Say, use gdalwarp to preprocess the data. Please try with one channel and > post what gdalinfo reports on the resulting file. > Since GRASS documentation

Re: [GRASS-user] HDF-5 parse

2010-02-18 Thread Pedro Roma
hello Hamish With some support from Ricardo I realized that there are also 2 other HDF5 files, one with latitude of each pixel and the other with longitude. So, now I have a latitude dataset, a longitude and values. How can I "merge" this and import to GRASS (georreferenced and bla bla)? (THat I w

Re: [GRASS-user] HDF-5 parse

2010-02-18 Thread Hamish
Pedro Roma wrote: > By usinggdalinfo > HDF5:"/mnt/GIS/DATA/HDF5_DATA_MSG_FAPAR_Euro_20070222"://FAPAR > I get:Driver: > HDF5Image/HDF5 Dataset > Files: none associatedSize is 1701, > 651Coordinate System > is:GEOGCS["WGS 84", > DATUM["WGS_1984", > SPHEROID["WGS 84",6378137,298.2572235

Re: [GRASS-user] HDF-5 parse

2010-02-17 Thread Pedro Roma
Hey > Not necessarily. It is also possible that GCPs are stored and gdalwarp > needs to be > used first to obtain a really geocoded file. > > Say, use gdalwarp to preprocess the data. Please try with one channel and > post what gdalinfo reports on the resulting file. Since GRASS documentation e

Re: [GRASS-user] HDF-5 parse

2010-02-17 Thread António Rocha
Pedro, regarding MODIS tip, that someone gave you, please try Method 1 and see what happens. I think it will be enough. Please pay attention to HDF5 instead of HDF4. Antonio Markus Neteler wrote: 2010/2/17 Pedro Roma : Hello all Regarding this question, I’m using a MSG SEVIRI product cal

Re: [GRASS-user] HDF-5 parse

2010-02-17 Thread Markus Neteler
2010/2/17 Pedro Roma : > Hello all > > Regarding this question, I’m using a MSG SEVIRI product called FAPAR. And > I’m a bit lost on import data to GRASS and rectify. > > > > By making gldainfo I get: > > Driver: HDF5/Hierarchical Data Format Release 5 > > Files: /mnt/GIS/DATA/HDF5_DATA_MSG_FAPAR_E

Re: [GRASS-user] HDF-5 parse

2010-02-17 Thread Pedro Roma
Hello all Regarding this question, I’m using a MSG SEVIRI product called FAPAR. And I’m a bit lost on import data to GRASS and rectify. By making gldainfo I get: Driver: HDF5/Hierarchical Data Format Release 5 Files: /mnt/GIS/DATA/HDF5_DATA_MSG_FAPAR_Euro_20070222 Size is 512, 512 Coo

Re: [GRASS-user] HDF-5 parse

2010-02-17 Thread Pedro Roma
Thank you all. Regarding Antonio's suggestion I will see if I can do that. It seems a good Idea. Is it possible to have a button to browse files? Thanks Best regards Pedro 2010/2/17 António Rocha > Hello Pedro > > My suggestion, in case you have a consistent dataset, would be to create > your o

Re: [GRASS-user] HDF-5 parse

2010-02-17 Thread António Rocha
Hello Pedro My suggestion, in case you have a consistent dataset, would be to create your own script to read import HDF5 files. My question regarding this is it possible to have a "Browse files" button in a GRASS scripts? Antonio __ Information from ESET NOD32 Antivirus, version of

Re: [GRASS-user] HDF-5 parse

2010-02-12 Thread Markus Metz
Hamish wrote: did you read this: http://www.gdal.org/frmt_hdf5.html [snip] (hint: "band" and "subdataset" are probably the same thing) No. As it says a bit further down, after getting info for a specific subdataset: "You may use gdal_translate for reading image bands from this [sele

Re: [GRASS-user] HDF-5 parse

2010-02-12 Thread Hamish
Hamish: > > please post the file name, the results of gdalinfo, > > and the exact r.in.gdal command line used. Pedro wrote: > This is the command:r.in.gdal > input=/mnt/GIS/data/HDF5_GEO_200101011450 output=file_out > > and the error is: Projection of > input dataset and current location appear t

Re: [GRASS-user] HDF-5 parse

2010-02-12 Thread Pedro Roma
Ahhh ok I see But it's not possible to GRASS to identify each layer of HDF5 file? Yes, indeed it looks odd and not very practical :(. And regarding other products, example CEOS, it's necessary to specify also CEOS:/file bla bla bla? Thank you Markus Pedro On Fri, Feb 12, 2010 at 1:45 PM, Markus

Re: [GRASS-user] HDF-5 parse

2010-02-12 Thread Markus Neteler
On Fri, Feb 12, 2010 at 1:56 PM, Pedro Roma wrote: > Hi > This is the command: > r.in.gdal input=/mnt/GIS/data/HDF5_GEO_200101011450 output=file_out > > and the error is: > Projection of input dataset and current location appear to match > ERROR: Selected band (1) does not exist As stated in http

Re: [GRASS-user] HDF-5 parse

2010-02-12 Thread Pedro Roma
Hi This is the command: r.in.gdal input=/mnt/GIS/data/HDF5_GEO_200101011450 output=file_out and the error is: Projection of input dataset and current location appear to match ERROR: Selected band (1) does not exist Thank you Pedro Roma On Fri, Feb 12, 2010 at 12:30 PM, Hamish wrote: > Hamish:

Re: [GRASS-user] HDF-5 parse

2010-02-12 Thread Hamish
Hamish: > r.in.gdal, with the HDF5 driver Pedro: > HiRegarding this. using r.in.gdal it > says that selected band do not exist.About "HDF5 > driver", how can I use that driver using r.in.gdal command? please post the file name, the results of gdalinfo, and the exact r.in.gdal command line used.

Re: [GRASS-user] HDF-5 parse

2010-02-12 Thread Pedro Roma
Hi Regarding this. using r.in.gdal it says that selected band do not exist. About "HDF5 driver", how can I use that driver using r.in.gdal command? On Fri, Feb 12, 2010 at 4:26 AM, Hamish wrote: > Pedro Roma: > > I'm trying to import an HDF5 file and > > I'm having a few difficulties on "HOW to

Re: [GRASS-user] HDF-5 parse

2010-02-11 Thread Hamish
Pedro Roma: > I'm trying to import an HDF5 file and > I'm having a few difficulties on "HOW to do > this". Is there any wiki/tutorial that explains how to > import remote sensing data such as HDF5 files? r.in.gdal, with the HDF5 driver: http://www.gdal.org/frmt_hdf5.html see the "MODIS" wiki p

[GRASS-user] HDF-5 parse

2010-02-11 Thread Pedro Roma
Hello I'm trying to import an HDF5 file and I'm having a few difficulties on "HOW to do this". Is there any wiki/tutorial that explains how to import remote sensing data such as HDF5 files? Thanks Pedro ___ grass-user mailing list grass-user@lists.osgeo