<div dir="ltr"><div>You should use the raster calculator to do any calculations on rasters, or some of the tools in processing. But your use case seems a bit complicated - perhaps there is a hydrological plugin or processing algorithm that can help.</div>
<div><br></div><div>Have you tried loading the file in QGIS?</div><div><br></div><div>But be aware that netcdf files with many variables are a bit tricky - each variable is a subdataset, which is treated as a separate file. See the gdal netcdf page for more details [1].</div>
<div><br></div><div>You could translate them to individual files in another format like gtiff using gdal:</div><div><br></div><div>gdal_translate -of gtiff -sds <a href="http://in.nc">in.nc</a> out</div><div><br></div><div>
<br></div><div>[1] <a href="http://www.gdal.org/frmt_netcdf.html">http://www.gdal.org/frmt_netcdf.html</a></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Apr 14, 2014 at 1:28 PM, Steve Friedman <span dir="ltr"><<a href="mailto:skfglades@gmail.com" target="_blank">skfglades@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">No.  The Netcdf file has 20+ variables. It is a spatially explicit data for hydrological metrics in a large wetland.  I want to associate these variables with a vegetation map of the same area.  Then I will conduct a GLM multinomial statistical analysis to derive probabilities of vegetation community based on the spatial distribution of the hydrologic metrics.</p>


<p dir="ltr">Hope that make the problem clearer.  If not let me know and I'll try to make it more explicit.</p>
<p dir="ltr">Thanks<span class="HOEnZb"><font color="#888888"><br>
Steve</font></span></p><div class="HOEnZb"><div class="h5">
<div class="gmail_quote">On Apr 14, 2014 10:58 AM, "Etienne Tourigny" <<a href="mailto:etourigny.dev@gmail.com" target="_blank">etourigny.dev@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">I don't understand what you mean. You have a netcdf file with 1 variable that has 20+ attributes, and you want to copy them to another raster as metadata? What is the format of your raster?</div><div class="gmail_extra">


<br><br><div class="gmail_quote">On Mon, Apr 14, 2014 at 9:07 AM, Steve Friedman <span dir="ltr"><<a href="mailto:skfglades@gmail.com" target="_blank">skfglades@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div dir="ltr"><div><div><div><div><div>Hello<br><br></div>I have a netcdf file with 20+ attributes that I need to link to a raster layer.<br><br></div>I do not see a method for this.  I am hoping that I have just missed something obvious.  <br>



<br></div>Can someone point me in the right direction.<br><br></div>Thank you<span><font color="#888888"><br></font></span></div><span><font color="#888888">Steve<br></font></span></div>
<br>_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br></blockquote></div><br></div>
</blockquote></div>
</div></div></blockquote></div><br></div>