<div dir="ltr"><div>Thanks a lot Mike, i&#39;m going to try soon. </div><div>Then i&#39;ll tell you later.</div><div>Andrés</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-01-29 11:06 GMT-03:00 Michael Mase <span dir="ltr">&lt;<a href="mailto:masester@gmail.com" target="_blank">masester@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Sure, here is some documentation also:<div><br></div><div><a href="http://www.cpc.ncep.noaa.gov/products/wesley/wgrib2/new_grid.html" target="_blank">www.cpc.ncep.noaa.gov/products/wesley/wgrib2/new_grid.html</a><br></div><div><br></div><div>Installing wgrib2 can be kind of a pain because you need fortran and gcc pointed correctly, but once you get it set up, it&#39;s extremely useful. GrADS might come with it, I&#39;m not sure though.</div><div><br></div><div>My quick steps are:</div><div><br></div><div>-know the resolution of the product that you are working with</div><div>-know your starting and ending lat/lon</div><div><br></div><div>In the below example, I&#39;m starting at a longitude of -145 and creating 760 points at a resolution of 0.125 degrees. Same goes for latitude, starting at 15 degrees and going up 320 points at an interval of 0.125 degrees. This will output a grib that is a lat/lon grid of 760x320 at a resolution of 0.125 degrees. This can also be used to interpolate the data to a finer resolution if you prefer, but since you are using GrADS, I recommend simply maintaining the original resolution and let GrADS handle the interpolation.</div><div><br></div><div><b> wgrib2 input.grib2 -set_grib_type same -new_grid latlon -145.0:760:0.125 15.0:320:0.125 output.grib2</b><br></div><div><b><br></b></div><div>Let me know if you have any questions.</div><div><br></div><div>Mike</div><div><br></div><div><br></div><div><br></div></div><div class="HOEnZb"><div class="h5"><br><div class="gmail_quote"><div dir="ltr">On Fri, Jan 29, 2016 at 8:54 AM Andres Lighezzolo &lt;<a href="mailto:andreslighezzolo@gmail.com" target="_blank">andreslighezzolo@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks Michael!, can you show me how you do it? <br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-01-28 11:59 GMT-03:00 Michael Mase <span dir="ltr">&lt;<a href="mailto:masester@gmail.com" target="_blank">masester@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hm, that&#39;s a good question. I usually convert from a gaussian grid to a lat lon grid with wgrib2, which seems to work very well.</div><br><div class="gmail_quote"><div><div><div dir="ltr">On Thu, Jan 28, 2016 at 9:57 AM Andres Lighezzolo &lt;<a href="mailto:andreslighezzolo@gmail.com" target="_blank">andreslighezzolo@gmail.com</a>&gt; wrote:<br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">
        
        
        


<p style="margin-bottom:0cm">Dear GRADS users,</p><p style="margin-bottom:0cm">I usualy work with grb2 files from GFS model and using these in a geographical information system. I open and then transform the grb2 files in geotiff files with the sentence &#39;set gxout geotiff&#39;. No problems with that, the file geottif is generated correctly.<br></p><p style="margin-bottom:0cm">But now i&#39;m working with CFSv2 files. When a try to transform these files to geotiff with the &#39;set gxout geotiff&#39;, the file is created but is not georeferenced. </p><p style="margin-bottom:0cm">GFS files are in lat-lon grid:(1440 x 721)  defined as:<br></p><p style="margin-bottom:0cm">ydef 721 linear -90.000000 0.25</p><p style="margin-bottom:0cm">xdef 1440 linear 180.000000 0.250000</p><p style="margin-bottom:0cm"><br></p><p style="margin-bottom:0cm">and CFSv2 files are Gaussian grid: (384 x 190) defined as:<br></p><p style="margin-bottom:0cm">xdef 384 linear 0.000000 0.9375<br></p><p style="margin-bottom:0cm">ydef 190 levels</p><p style="margin-bottom:0cm"> -89.277 -88.340 ........... 87.397  88.340  89.277</p><p style="margin-bottom:0cm"><br></p><p style="margin-bottom:0cm">Can Grads make geotiff with georeference when the ydef is defined by levels?</p><p style="margin-bottom:0cm"><br></p><p style="margin-bottom:0cm">Thanks in advance</p><div><br></div><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Mgter. Andrés Lighezzolo<br>Área/Departamento: Gerencia de Institucionales/Unidad Emergencias Nacionales y CAEARTE<div>Sede CONAE Córdoba: Centro Espacial Teófilo Tabanera - Falda del Carmen.<br>Teléfono <span style="color:rgb(0,0,0);font-family:Verdana,arial;font-size:x-small;text-align:center">54-3547-400000</span> interno 1189</div><div>Argentina</div><div><a href="http://meteo.caearte.conae.gov.ar/wrf" target="_blank">http://meteo.caearte.conae.gov.ar/wrf</a><br></div></div></div></div></div></div></div></div></div></div></div>
</div></div></div>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</blockquote></div>
<br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Mgter. Andrés Lighezzolo<br>Área/Departamento: Gerencia de Institucionales/Unidad Emergencias Nacionales y CAEARTE<div>Sede CONAE Córdoba: Centro Espacial Teófilo Tabanera - Falda del Carmen.<br>Teléfono <span style="color:rgb(0,0,0);font-family:Verdana,arial;font-size:x-small;text-align:center">54-3547-400000</span> interno 1189</div><div>Argentina</div><div><a href="http://meteo.caearte.conae.gov.ar/wrf" target="_blank">http://meteo.caearte.conae.gov.ar/wrf</a><br></div></div></div></div></div></div></div></div></div></div></div>
</div>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</blockquote></div>
</div></div><br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Mgter. Andrés Lighezzolo<br>Área/Departamento: Gerencia de Institucionales/Unidad Emergencias Nacionales y CAEARTE<div>Sede CONAE Córdoba: Centro Espacial Teófilo Tabanera - Falda del Carmen.<br>Teléfono <span style="color:rgb(0,0,0);font-family:Verdana,arial;font-size:x-small;text-align:center">54-3547-400000</span> interno 1189</div><div>Argentina</div><div><a href="http://meteo.caearte.conae.gov.ar/wrf" target="_blank">http://meteo.caearte.conae.gov.ar/wrf</a><br></div></div></div></div></div></div></div></div></div></div></div>
</div>