SYNC3()

Fortran version:

    LOGICAL FUNCTION SYNC3( FNAME )
        CHARACTER*(*), INTENT(IN   ) :: FNAME           !  logical file name

C version:

   int sync3c( const char * fname )

Summary:

Synchronizes FNAME with disk using the netCDF ncsync() call. Note that if FNAME was declared volatile, then the I/O API will perform ncsync() calls for every I/O operation on the file (effectively, performing SYNCH3&READ3() and WRITE3()&SYNCH3() automatically for that file)

Preconditions:

USE M3UTILIO or INCLUDE 'IODECL3.EXT' for Fortran, or #include "iodecl3.h" and #include "fdesc3.h" for C.

I/O API must already be initialized by a call to INIT3().

File FNAME must already have been opened by OPEN3() or open3c().

Fortran Usage:

    ...
    USE M3UTILIO
    ...
    <under construction>
    ...

C Usage:

    ...
    #include "iodecl3.h"
    ...
    <under construction>
    ...


Previous: FILCHK3

Next: INQATT3

Up: I/O API: Public Routines

To: Models-3/EDSS I/O API: The Help Pages