NF_GET_ATT_INT netcdf error

Any WPS problems/questions that might not fall into the other topics in this category

NF_GET_ATT_INT netcdf error

Postby stormlab » Wed Nov 21, 2012 3:22 pm

How can be solved this netcdf error?

NetCDF error: NetCDF: Attribute not found
program stopped while calling "NF_GET_ATT_INT" (nscalar) in netreadatti
stormlab
 
Posts: 10
Joined: Wed Nov 21, 2012 3:18 pm

Re: NF_GET_ATT_INT netcdf error

Postby jan » Thu Nov 22, 2012 5:18 am

Have you set
Code: Select all
export NETCDF=/path/to/netcdf

in your environment (example for bash)? Is the netcdf library installed correct?
Have you installed WRF successful? You need to have WRF installed before installing WPS.
Try with the NETCDF variable first, read the WRF Users Guide and if you do not succeed than post more of your error message (compile.log). Good luck!
jan
 
Posts: 174
Joined: Wed Jun 15, 2011 3:48 am
Location: Kiel, Germany, GEOMAR

Re: NF_GET_ATT_INT netcdf error

Postby stormlab » Thu Nov 22, 2012 7:27 am

Hello Jan,

> export NETCDF=/path/to/netcdf

Yes, the netcdf path is ok. The error is from program arps2wrf from arps5.3.3 package. The older version of arps2wrf was ok. I didn't get reply from arps support forum, so I sent here.

Angel
stormlab
 
Posts: 10
Joined: Wed Nov 21, 2012 3:18 pm

Re: NF_GET_ATT_INT netcdf error

Postby jan » Thu Nov 22, 2012 7:52 am

I am using joinwrfh from arps 5.2.5 and I had to edit makearps:
add -lnetcdff, line 1480:
Code: Select all
set LIB_NET = "-L$NETCDF/lib -lnetcdf -lnetcdff"

compile command:
Code: Select all
makearps -rd /path/to/arps -io net joinwrfh

I think you can not use NetCDF4, you have to use NetCDF3 for wrf2arps.
jan
 
Posts: 174
Joined: Wed Jun 15, 2011 3:48 am
Location: Kiel, Germany, GEOMAR

Re: NF_GET_ATT_INT netcdf error

Postby stormlab » Thu Nov 22, 2012 8:54 am

from where to download netcdf-devel-3.*? i can't find it on unidata site.
stormlab
 
Posts: 10
Joined: Wed Nov 21, 2012 3:18 pm

Re: NF_GET_ATT_INT netcdf error

Postby jan » Thu Nov 22, 2012 9:21 am

How do you complie arps2wrf? See http://www.caps.ou.edu/ARPS/arpsqg/, scroll quite far down to "ARPS2WRF". It says that
netCDF 3.0 is a must

NetCDF 3.6.3: http://www.unidata.ucar.edu/downloads/netcdf/netcdf-3_6_3/index.jsp
I am running arp5.3.3. with netcdf/3.6.3-intel.
jan
 
Posts: 174
Joined: Wed Jun 15, 2011 3:48 am
Location: Kiel, Germany, GEOMAR

Re: NF_GET_ATT_INT netcdf error

Postby stormlab » Thu Nov 22, 2012 9:40 am

Thank you Jan!
Now will experiment with 3.0:-)
Angel
stormlab
 
Posts: 10
Joined: Wed Nov 21, 2012 3:18 pm

Re: NF_GET_ATT_INT netcdf error

Postby stormlab » Sat Nov 24, 2012 4:57 pm

Hello,

The NetCDF "NF_GET_ATT_INT attribute not found" error can't be solved.
Obviously, the arps2wrf reads the netcdf file and can't find the west-east value.
Could you help me?

Angel
stormlab
 
Posts: 10
Joined: Wed Nov 21, 2012 3:18 pm

Re: NF_GET_ATT_INT netcdf error

Postby jan » Mon Nov 26, 2012 5:21 am

Well, than the obvious question: is there an attribute for the east-west extension of your domain in the NetCDF file you are processing? Maybe your ARPS version is not compatible to your WRF version?
It sounds more like an ARPS problem, you should contact them, they do also have user support.
jan
 
Posts: 174
Joined: Wed Jun 15, 2011 3:48 am
Location: Kiel, Germany, GEOMAR


Return to Miscellaneous

Who is online

Users browsing this forum: No registered users and 1 guest