File: README

package info (click to toggle)
libhdf4 4.1r4-13
  • links: PTS
  • area: main
  • in suites: woody
  • size: 24,532 kB
  • ctags: 26,698
  • sloc: ansic: 207,298; fortran: 30,195; sh: 7,932; makefile: 7,472; cpp: 2,186; pascal: 1,407; asm: 1,027; yacc: 680; lex: 202; sed: 153
file content (45 lines) | stat: -rw-r--r-- 1,618 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
$Id: README,v 1.1 1993/04/21 21:49:48 chouck Exp $

Mon Apr 17 19:20:26 MDT 1989

This is the source directory for the netcdf C language Library.

There is a simple test program, "cdftest",
which can be built to check the implementation.

A much more exhaustive test can be found in ../nctest.

Depending on the unkindness of your computer system vendor, you may
need to build the xdr routines in ../xdr first. Most modern unix systems
have the xdr routines aready in the C library.

Running cdftest should produce output like the contents of "testout.sav".
This program will also create a file called "test.cdf". This file should
be byte for byte the same as "test_cdf.sav".


Porting the netcdf code:

	If your compiler supports the "void *" type and you wish to 
   use this in the external interface, make sure that ncvoid is 
   properly defined at the top of "netcdf.h".

	If your compiler supports enums, "xdr_enum" works, and
   you wish to use enums in the external interface, make sure
   that USE_ENUM is defined at the top of "netcdf.h".

	If your compiler supports the "binary mode" option to
  fopen, as
	fp = fopen(filename, "w+b") ;
  be sure USE_BFLAG is defined near the top of "local_nc.h".
  This is especially important on PC's and the MacIntosh, since
  these systems will otherwise map bytes valued 0x0a ('\n') into
  two bytes 0x0d 0x0a ('\r''\n').

        Good Luck with the include files.


The following files are only used on VAX/VMS:
	descrip.mms - The immoral equivalent of a Makefile
	htons.mar - 'Host to Network Short', in VAX Macro
	ntohs.mar - 'Network to Host Short', in VAX Macro