<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span lang="PT" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";
mso-ansi-language:PT">Hello all</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span lang="PT" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";
mso-ansi-language:PT"> </span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"">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.</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif""> </span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"">By making
gldainfo I get:</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"">Driver:
HDF5/Hierarchical Data Format Release 5</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"">Files:
/mnt/GIS/DATA/HDF5_DATA_MSG_FAPAR_Euro_200702220000</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"">Size is 512,
512</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"">Coordinate
System is `'</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"">Subdatasets:</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif""><span style="mso-spacerun:yes"> </span>SUBDATASET_1_NAME=HDF5:"/mnt/GIS/DATA/HDF5_DATA_MSG_FAPAR_Euro_200702220000"://FAPAR</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif""><span style="mso-spacerun:yes"> </span>SUBDATASET_1_DESC=[651x1701] //FAPAR (8-bit
integer)</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif""><span style="mso-spacerun:yes"> </span>SUBDATASET_2_NAME=HDF5:"/mnt/GIS/DATA/HDF5_DATA_MSG_FAPAR_Euro_200702220000"://FAPAR_QF</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif""><span style="mso-spacerun:yes"> </span>SUBDATASET_2_DESC=[651x1701] //FAPAR_QF
(8-bit character)</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif""><span style="mso-spacerun:yes"> </span>SUBDATASET_3_NAME=HDF5:"/mnt/GIS/DATA/HDF5_DATA_MSG_FAPAR_Euro_200702220000"://FAPAR_err</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif""><span style="mso-spacerun:yes"> </span>SUBDATASET_3_DESC=[651x1701] //FAPAR_err
(8-bit integer)</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"">Corner
Coordinates:</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"">Upper
Left<span style="mso-spacerun:yes"> </span>(<span style="mso-spacerun:yes">
</span>0.0,<span style="mso-spacerun:yes"> </span>0.0)</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"">Lower
Left<span style="mso-spacerun:yes"> </span>(<span style="mso-spacerun:yes">
</span>0.0,<span style="mso-spacerun:yes"> </span>512.0)</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"">Upper Right
(<span style="mso-spacerun:yes"> </span>512.0,<span style="mso-spacerun:yes"> </span>0.0)</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"">Lower Right
(<span style="mso-spacerun:yes"> </span>512.0,<span style="mso-spacerun:yes">
</span>512.0)</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"">Center<span style="mso-spacerun:yes"> </span><span style="mso-spacerun:yes"> </span>(<span style="mso-spacerun:yes">
</span>256.0,<span style="mso-spacerun:yes"> </span>256.0)</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif""> </span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"">I get a list
of all subsets. Apparentely there is no coordinate system right?</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif""> </span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"">But if I make </span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"">gdalinfo HDF5:"/mnt/GIS/DATA/HDF5_DATA_MSG_FAPAR_Euro_200702220000"://FAPAR
(one of the SUBSETS) I get:</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"">Driver:
HDF5Image/HDF5 Dataset</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"">Files: none
associated</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"">Size is 1701,
651</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"">Coordinate
System is:</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"">GEOGCS["WGS
84",</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif""><span style="mso-spacerun:yes"> </span>DATUM["WGS_1984",</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif""><span style="mso-spacerun:yes"> </span>SPHEROID["WGS
84",6378137,298.257223563,</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif""><span style="mso-spacerun:yes">
</span>AUTHORITY["EPSG","7030"]],</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif""><span style="mso-spacerun:yes"> </span>TOWGS84[0,0,0,0,0,0,0],</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif""><span style="mso-spacerun:yes">
</span>AUTHORITY["EPSG","6326"]],</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif""><span style="mso-spacerun:yes"> </span>PRIMEM["Greenwich",0,</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif""><span style="mso-spacerun:yes">
</span>AUTHORITY["EPSG","8901"]],</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif""><span style="mso-spacerun:yes"> </span>UNIT["degree",0.0174532925199433,</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif""><span style="mso-spacerun:yes">
</span>AUTHORITY["EPSG","9108"]],</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif""><span style="mso-spacerun:yes"> </span>AXIS["Lat",NORTH],</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif""><span style="mso-spacerun:yes"> </span>AXIS["Long",EAST],</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif""><span style="mso-spacerun:yes">
</span>AUTHORITY["EPSG","4326"]]</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"">Corner
Coordinates:</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"">Upper
Left<span style="mso-spacerun:yes"> </span>(<span style="mso-spacerun:yes">
</span>0.0,<span style="mso-spacerun:yes"> </span>0.0)</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"">Lower
Left<span style="mso-spacerun:yes"> </span>(<span style="mso-spacerun:yes">
</span>0.0,<span style="mso-spacerun:yes"> </span>651.0)</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"">Upper Right (
1701.0,<span style="mso-spacerun:yes"> </span>0.0)</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"">Lower Right (
1701.0,<span style="mso-spacerun:yes"> </span>651.0)</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"">Center<span style="mso-spacerun:yes"> </span>(<span style="mso-spacerun:yes">
</span>850.5,<span style="mso-spacerun:yes"> </span>325.5)</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"">Band 1
Block=1701x1 Type=Int16, ColorInterp=Undefined</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif""><span style="mso-spacerun:yes"> </span>Metadata:</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif""><span style="mso-spacerun:yes"> </span>FAPAR:CLASS=Data</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif""><span style="mso-spacerun:yes"> </span>FAPAR:PRODUCT=product</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif""><span style="mso-spacerun:yes"> </span>FAPAR:PRODUCT_ID=0 </span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif""><span style="mso-spacerun:yes"> </span></span><span lang="PT" style="font-size:10.0pt;
font-family:"Trebuchet MS","sans-serif";mso-ansi-language:PT">FAPAR:N_COLS=1701
</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span lang="PT" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";
mso-ansi-language:PT"><span style="mso-spacerun:yes">
</span>FAPAR:N_LINES=651 </span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span lang="PT" style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";
mso-ansi-language:PT"><span style="mso-spacerun:yes"> </span></span><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"">FAPAR:NB_BYTES=2
</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif""><span style="mso-spacerun:yes"> </span>FAPAR:SCALING_FACTOR=10000 </span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif""><span style="mso-spacerun:yes"> </span>FAPAR:OFFSET=0 </span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif""><span style="mso-spacerun:yes"> </span>FAPAR:MISSING_VALUE=-10 </span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif""><span style="mso-spacerun:yes"> </span>FAPAR:UNITS=N/A</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif""><span style="mso-spacerun:yes"> </span>FAPAR:CAL_SLOPE=1 </span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif""><span style="mso-spacerun:yes"> </span>FAPAR:CAL_OFFSET=0</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif""> </span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"">This means
that it’s georreferenced right?</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"">But if I do </span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"">r.in.gdal -o
--quiet input=HDF5:"/mnt/GIS/ DATA /HDF5_DATA_MSG_FAPAR_Euro_200702220000"://FAPAR
output=out00</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"">I get the
error:</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"">Over-riding
projection check</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"">G_set_window():
Illegal latitude for NorthOver-riding projection check</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"">G_set_window():
Illegal latitude for North </span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif""> </span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"">So it doesn’t’
work. I mean shouldn’t I be using gdalwarp in order to import and rectify
image? Because there is not much inofmration regarding how to do this. I mean, it seems that if I do r.in.gdal I loose all GCP and coordinates system information...</span></p><p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal">
<span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"">Sorry for these lammer questions but I think I'm lost</span></p><p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal">
<span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif""><br></span></p><p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"">Thanks</span></p>
<p class="MsoNormal" style="margin-bottom:6.0pt;line-height:normal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif"">Pedro </span></p><br><div class="gmail_quote">2010/2/17 Pedro Roma <span dir="ltr"><<a href="mailto:pedroroma1982@gmail.com">pedroroma1982@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Thank you all.<div>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?</div>
<div><br></div><div>Thanks </div><div>Best regards </div><div>Pedro<br>
<br><div class="gmail_quote">2010/2/17 António Rocha <span dir="ltr"><<a href="mailto:antonio.rocha@deimos.com.pt" target="_blank">antonio.rocha@deimos.com.pt</a>></span><div><div></div><div class="h5"><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello Pedro<br>
<br>
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?<br>
<br>
Antonio<br>
<br>
<br>
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4872 (20100216) __________<br>
<br>
The message was checked by ESET NOD32 Antivirus.<br>
<br>
<a href="http://www.eset.com" target="_blank">http://www.eset.com</a><br>
<br>
<br>
</blockquote></div></div></div><br></div>
</blockquote></div><br>