<div dir="ltr"><div><div><div><div>The big thing about viewing WRF output directly from the history files is the format - netCDF (as opposed to binary, GRIB, or something else). To use that particular fortran program you need to link to an installed netcdf library on your system. Some compilers may not be supported. I do not regularly use gfortran, so I cannot comment further on whether this compiler is the problem. I will say that if you have access to an ifort or pgf90 compiler to try those as well. <br><br></div>The reason the compilation is failing is because it is not finding the netcdf library files during compilation. This typically means you have misspecified the location of the library files on your machine, or they&#39;re not installed. Look through the makefile and check the path names that are specified. Since this section is uncommented, I assume these are the settings you are using to compile:<br><br>LIBNETCDF = -L/usr/local/netcdf-xlf/lib -lnetcdf -lm<br>#INCLUDE = -I/usr/local/netcdf-xlf/include -I./<br>INCLUDES=-I. -I/usr/local/include<br>FC = gfortran<br>FCFLAGS = -g -C                 <br>CPP = /usr/bin/cpp<br>CPPFLAGS = -I. -C -P -DRECL4 -xassembler-with-cpp<br><br></div>check that /usr/local/netcdf-xlf/lib exists on your system. Do the same for the INCLUDE listing (without the &quot;-I&quot;). Also I suspect this line<br>INCLUDES=-I. -I/usr/local/include<br></div>is errant, for three reasons: 1) grammatical error in the entry itself; 2) the INCLUDES keyword is not used in the compiler dependencies at the end of the Makefile (below the ##################); 3) I doubt a valid netCDF library exists in /usr/local/include, as that seems too broad a directory structure (and it&#39;s non-specific), but I could be wrong about that.<br><br></div>Jeff Duda<br><div><div><div><div> <br></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 10, 2017 at 9:18 AM, afwande juliet <span dir="ltr">&lt;<a href="mailto:afwandej965@gmail.com" target="_blank">afwandej965@gmail.com</a>&gt;</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>Dear users<br></div>I have wrfoutput that I want to read uisng GRADS. I want to create a .ctl file using wrf2grads . <br><br></div>I am unable since compilers in my machine is not recoginzable . I have both gcc and gfortran but I get this problem when i try make <br><br>module_wrf_to_grads_netcdf.f:<wbr>39: Error: Can&#39;t open included file &#39;netcdf.inc&#39;<br>Makefile:90: recipe for target &#39;module_wrf_to_grads_netcdf.o&#39; failed<br><br></div>below is my make file script attached.<br></div>Also can someone show me another way  how to read wrfouptut in GRADS<br></div>
<br>______________________________<wbr>_________________<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/<wbr>listinfo/gradsusr</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Jeff Duda<br>Post-doctoral research fellow<br>University of Oklahoma School of Meteorology<br></div></div></div></div></div>
</div>