<p dir="ltr">Yes I know that netcdf files store arrays of data and that each us treated as a subset of the main file.  </p>
<p dir="ltr">This is  not a case for raster calculator. NIR is it a case requiring a hydrological plugin. </p>
<p dir="ltr">In ArcGis, which is no longer available to me, I used a built in tool to overlay the raster vegetation map with the netcdf shape file representing the hydrological metric of interest. </p>
<p dir="ltr">Perhaps extracting each metric to its own file will yield a reasonable method.</p>
<p dir="ltr">Thanks<br></p>
<p dir="ltr">On Apr 14, 2014 1:57 PM, "Etienne Tourigny" <<a href="mailto:etourigny.dev@gmail.com">etourigny.dev@gmail.com</a>> wrote:<br>
><br>
> 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.<br>

><br>
> Have you tried loading the file in QGIS?<br>
><br>
> 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].<br>
><br>
> You could translate them to individual files in another format like gtiff using gdal:<br>
><br>
> gdal_translate -of gtiff -sds <a href="http://in.nc">in.nc</a> out<br>
><br>
><br>
> [1] <a href="http://www.gdal.org/frmt_netcdf.html">http://www.gdal.org/frmt_netcdf.html</a><br>
><br>
><br>
><br>
> On Mon, Apr 14, 2014 at 1:28 PM, Steve Friedman <<a href="mailto:skfglades@gmail.com">skfglades@gmail.com</a>> wrote:<br>
>><br>
>> 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.<br>

>><br>
>> Hope that make the problem clearer.  If not let me know and I'll try to make it more explicit.<br>
>><br>
>> Thanks<br>
>> Steve<br>
>><br>
>> On Apr 14, 2014 10:58 AM, "Etienne Tourigny" <<a href="mailto:etourigny.dev@gmail.com">etourigny.dev@gmail.com</a>> wrote:<br>
>>><br>
>>> 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?<br>
>>><br>
>>><br>
>>> On Mon, Apr 14, 2014 at 9:07 AM, Steve Friedman <<a href="mailto:skfglades@gmail.com">skfglades@gmail.com</a>> wrote:<br>
>>>><br>
>>>> Hello<br>
>>>><br>
>>>> I have a netcdf file with 20+ attributes that I need to link to a raster layer.<br>
>>>><br>
>>>> I do not see a method for this.  I am hoping that I have just missed something obvious.  <br>
>>>><br>
>>>> Can someone point me in the right direction.<br>
>>>><br>
>>>> Thank you<br>
>>>> Steve<br>
>>>><br>
>>>> _______________________________________________<br>
>>>> Qgis-user mailing list<br>
>>>> <a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
>>>> <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
>>><br>
>>><br>
><br>
</p>