INSTALAÇÃO DO NETCDF 3.6.2 EM SO ATUAIS

24 views
Skip to first unread message

Regis Grundig

unread,
Jul 29, 2015, 9:36:51 PM7/29/15
to cli...@googlegroups.com
NETCDF 3 .6.2 



tar -xzvf netcdf-3.6.2.tar.gz


cd netcdf
-3.6.2/
cd examples

cd cxx
vim ncvalues
.cpp


/*********************************************************************
 *   Copyright 1992, University Corporation for Atmospheric Research
 *   See netcdf/README file for copying and redistribution conditions.
 *
 *   Purpose: implementation of classes of typed arrays for netCDF
 *
 *   $Header: /upc/share/CVS/netcdf-3/cxx/ncvalues.cpp,v 1.11 2006/12/29 16:38:5
6 ed Exp $
 *********************************************************************/
#include <cstring>   ACRESCENTE ESSA LINHA AQUI!!
#include <config.h>
#include <iostream>
#include <string>

#include "ncvalues.h"

NcValues::NcValues( void ) : the_type(ncNoType), the_number(0)



vim sfc_pres_temp_rd.cpp 


/* This is part of the netCDF package.
   Copyright 2006 University Corporation for Atmospheric Research/Unidata.
   See COPYRIGHT file for conditions of use.

   This is an example which reads some surface pressure and
   temperatures. The data file read by this program is produced
   companion program sfc_pres_temp_wr.cxx. It is intended to
   illustrate the use of the netCDF C++ API.

   This program is part of the netCDF tutorial:

   Full documentation of the netCDF C++ API can be found at:

   $Id: sfc_pres_temp_rd.cpp,v 1.16 2007/01/19 12:52:13 ed Exp $
*/
#include <cstring>   ACRESCENTE ESSA LINHA AQUI!!
#include <iostream>
#include <netcdfcpp.h>

using namespace std;


cd ..
cd ..
cd cxx
vim ncvalues.cpp

/*********************************************************************
 *   Copyright 1992, University Corporation for Atmospheric Research
 *   See netcdf/README file for copying and redistribution conditions.
 *
 *   Purpose:   implementation of classes of typed arrays for netCDF
 *
 *   $Header: /upc/share/CVS/netcdf-3/cxx/ncvalues.cpp,v 1.11 2006/12/29 16:38:56 ed Exp $
 *********************************************************************/

#include <cstring>  ====>>>  incluir essa linha
#include <config.h>
#include <iostream>
#include <string>




cd ..

./configure --prefix=/usr/local/netcdf3

make check
make install









yurim...@id.uff.br

unread,
Dec 17, 2015, 2:20:41 PM12/17/15
to CLIMABR
ftp://ftp.unidata.ucar.edu/pub/netcdf/old/netcdf-3.6.2.tar.gz
Reply all
Reply to author
Forward
0 new messages