Re: netcdf for linux

Dear M. Xiong:  This link:

http://www.rpmfind.net/linux/rpm2html/search.php?query=netcdf

has netcdf rpms for redhat and other linux systems.
You can get the source from

http://www.unidata.ucar.edu/packages/netcdf/index.html

It is pretty painless to install.

Regards, 

  Doug Hunt

"J.G.Xiong" wrote:
> 
> Dear all,
> 
> How to ask question here? Who can help to me to install netcdf under linux? I 
> will send email with attachment.
> 
> Best Regard
> 
> J.G Xiong
> ----------------------------------------------------
> 
> ======= 2002-07-16 21:25:00 ======
> 
> >ncdigest            Tuesday, July 16 2002            Volume 01 : Number 647
> >
> >
> >
> >Today's Topics:
> >Problem with ncgen and/or ncdump
> >
> >----------------------------------------------------------------------
> >
> >Date: Tue, 16 Jul 2002 11:57:19 -0700
> >From: "Koontz, Annette S" <Annette.Koontz@xxxxxxx>
> >Subject: Problem with ncgen and/or ncdump
> >
> >This message is in MIME format. Since your mail reader does not understand
> >this format, some or all of this message may not be legible.
> >
> >- --------------InterScan_NT_MIME_Boundary
> >Content-Type: multipart/alternative;
> >       boundary="----_=_NextPart_001_01C22CFA.9C4E52A0"
> >
> >- ------_=_NextPart_001_01C22CFA.9C4E52A0
> >Content-Type: text/plain
> >
> >Hello,
> >
> >I've run into a problem with ncgen/ncdump that perhaps someone can help me
> >with.
> >
> >I'm running ncgen to create a netCDF file:
> >
> >    ncgen -b -o somefile someinput
> >
> >The "someinput" file contains text like this:
> >
> >         float liq(time) ;
> >                liq:long_name = "Total liquid water along LOS path" ;
> >                liq:units = "cm" ;
> >                liq:resolution = 0.0001f ;
> >                liq:missing_value = -9999.f ;
> >
> >Ncgen works just fine, and when I run
> >
> >       ncdump somefile
> >
> >I see:
> >
> >        float liq(time) ;
> >                liq:long_name = "Total liquid water along LOS path" ;
> >                liq:units = "cm" ;
> >                liq:resolution = 9.9999997e-05f ;
> >                liq:missing_value = -9999.f ;
> >                liq:uncertainty = "+/- 0.002 cm" ;
> >
> >Note that the "resolution" attribute has been changed. It has essentially
> >the same value as the "someinput" information, but it is not as easy to
> >read.
> >
> >My questions:
> >
> >1) Is there any way to "force" ncgen and/or ncdump to display the attribute
> >info as I want it to?
> >2) Is there a better way to define the "resolution" attribute in the first
> >place?
> >
> >Any help will be appreciated. Interestingly enough, this does not always
> >happen.  (This corruption -- if you can call it that -- of the resolution
> >attribute on one system that I have access to.)
> >
> >
> >
> >
> >
> >
> >- ------_=_NextPart_001_01C22CFA.9C4E52A0
> >Content-Type: text/html
> >Content-Transfer-Encoding: quoted-printable
> >
> ><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
> ><HTML>
> ><HEAD>
> ><META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html;
> >charset=3Dus-ascii">
> ><META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version
> >5.5.2654.45">
> ><TITLE>Problem with ncgen and/or ncdump</TITLE>
> ></HEAD>
> ><BODY>
> >
> ><P><FONT SIZE=3D2 FACE=3D"Arial">Hello,</FONT>
> ></P>
> >
> ><P><FONT SIZE=3D2 FACE=3D"Arial">I've run into a problem with
> >ncgen/ncdump that perhaps someone can help me with.</FONT>
> ></P>
> >
> ><P><FONT SIZE=3D2 FACE=3D"Arial">I'm running ncgen to create a netCDF
> >file:</FONT>
> ></P>
> >
> ><P><FONT SIZE=3D2 FACE=3D"Arial">&nbsp;&nbsp;&nbsp; ncgen -b -o
> >somefile someinput</FONT>
> ></P>
> >
> ><P><FONT SIZE=3D2 FACE=3D"Arial">The &quot;someinput&quot; file
> >contains text like this:</FONT>
> ></P>
> >
> ><P><FONT SIZE=3D2
> >FACE=3D"Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; float
> >liq(time) ; </FONT>
> ><BR><FONT SIZE=3D2
> >FACE=3D"Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
> >sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; liq:long_name =3D &quot;Total liquid
> >water along LOS path&quot; ; </FONT>
> ><BR><FONT SIZE=3D2
> >FACE=3D"Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
> >sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; liq:units =3D &quot;cm&quot; ;
> ></FONT>
> ><BR><FONT SIZE=3D2
> >FACE=3D"Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
> >sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; liq:resolution =3D 0.0001f ; </FONT>
> ><BR><FONT SIZE=3D2
> >FACE=3D"Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
> >sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; liq:missing_value =3D -9999.f ;
> ></FONT>
> ></P>
> >
> ><P><FONT SIZE=3D2 FACE=3D"Arial">Ncgen works just fine, and when I
> >run</FONT>
> ></P>
> >
> ><P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT SIZE=3D2
> >FACE=3D"Arial">ncdump somefile</FONT>
> ></P>
> >
> ><P><FONT SIZE=3D2 FACE=3D"Arial">I see:</FONT>
> ></P>
> >
> ><P><FONT SIZE=3D2
> >FACE=3D"Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; float
> >liq(time) ;</FONT>
> ><BR><FONT SIZE=3D2
> >FACE=3D"Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
> >sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; liq:long_name =3D &quot;Total liquid
> >water along LOS path&quot; ;</FONT>
> ><BR><FONT SIZE=3D2
> >FACE=3D"Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
> >sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; liq:units =3D &quot;cm&quot; ;</FONT>
> ><BR><FONT SIZE=3D2
> >FACE=3D"Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
> >sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; liq:resolution =3D 9.9999997e-05f
> >;</FONT>
> ><BR><FONT SIZE=3D2
> >FACE=3D"Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
> >sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; liq:missing_value =3D -9999.f
> >;</FONT>
> ><BR><FONT SIZE=3D2
> >FACE=3D"Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
> >sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; liq:uncertainty =3D &quot;+/- 0.002
> >cm&quot; ;</FONT>
> ></P>
> >
> ><P><FONT SIZE=3D2 FACE=3D"Arial">Note that the &quot;resolution&quot;
> >attribute has been changed. It has essentially the same value as the
> >&quot;someinput&quot; information, but it is not as easy to
> >read.</FONT></P>
> >
> ><P><FONT SIZE=3D2 FACE=3D"Arial">My questions:</FONT>
> ></P>
> >
> ><P><FONT SIZE=3D2 FACE=3D"Arial">1) Is there any way to
> >&quot;force&quot; ncgen and/or ncdump to display the attribute info as
> >I want it to?</FONT>
> ><BR><FONT SIZE=3D2 FACE=3D"Arial">2) Is there a better way to define
> >the &quot;resolution&quot; attribute in the first place?</FONT>
> ></P>
> >
> ><P><FONT SIZE=3D2 FACE=3D"Arial">Any help will be appreciated.
> >Interestingly enough, this does not always happen.&nbsp; (This
> >corruption -- if you can call it that -- of the resolution attribute on
> >one system that I have access to.)</FONT></P>
> ><BR>
> ><BR>
> ><BR>
> ><BR>
> >
> ></BODY>
> ></HTML>
> >- ------_=_NextPart_001_01C22CFA.9C4E52A0--
> >
> >- --------------InterScan_NT_MIME_Boundary--
> >
> >------------------------------
> >
> >End of ncdigest V1 #647
> >***********************
> 
> = = = = = = = = = = = = = = = = = = 

-- 
dhunt@xxxxxxxx
Software Engineer III
UCAR - COSMIC, Tel. (303) 497-2611

  • 2002 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: