NuSDaS Interface Reference Manual

How to use NuSDaS library

Versions of NuSDaS

Within JMA, NuSDaS interface is available in two versions: operational and pnusdas ones. Although the former is official and mandatory in the operational suites, the latter version may be useful in some cases.

Operational Version

This version is not supported outside of NAPS/JMA. Source code is located in /grpK/nwp/Open/Tools/Nusdas or equivalent directories. Makefiles of models are designed to refer these files if necessary. Users refer the source code directly when building applications.

Pnusdas Version

'Pnusdas' is portable version of NuSDaS. The source code is slightly different from the operational one, mainly for portability to little-endian computers. The source code is provided in a package pnusdas.tar. Users have to untar it, configure, and make like many UNIX tools:

tar xvf pnusdas.tar
cd pnusdas
sh configure
make

and you will have libnusdas.a. File INSTALL or configure's message may be helpful.

Header Inclusion

Programs/functions/subroutines calling NuSDaS interface should include header file like following:

/* C */
#include "nusdas.h"

! Fortran
      INCLUDE 'nusdas_fort.h'

Note that INCLUDE in Fortran should be written in all subroutine/functions calling NuSDaS, not once per file like C.