NCEPLIBS-bacio  2.6.0
bacio_module Module Reference

Contains subroutines to read/write binary files. More...

Data Types

interface  baciol
 

Variables

integer, parameter bacio_close = 8
 Close file. More...
 
integer, parameter bacio_noseek = 64
 Start I/O from previous spot. More...
 
integer, parameter bacio_openr = 1
 Open file for read only. More...
 
integer, parameter bacio_openrw = 4
 Open file for read or write. More...
 
integer, parameter bacio_openw = 2
 Open file for write only. More...
 
integer, parameter bacio_openwa = 256
 Open for write only with append. More...
 
integer, parameter bacio_openwt = 128
 Open for write only with truncation. More...
 
integer, parameter bacio_read = 16
 Read from the file. More...
 
integer, parameter bacio_write = 32
 Write to the file. More...
 
integer, dimension(20), save baopts = 0
 Array of option settings. More...
 
integer, dimension(fddim), save fd = FDDIM*0
 Array IDs of currently open files. More...
 
integer, parameter fddim = 9999
 Maximum number of open files in bacio library. More...
 

Detailed Description

Contains subroutines to read/write binary files.

This is a module to do binary file I/O.

Author
Mark Iredell
Date
98-06-04

Variable Documentation

◆ bacio_close

integer, parameter bacio_module::bacio_close = 8

Close file.

Definition at line 25 of file baciof.F90.

Referenced by baclose().

◆ bacio_noseek

integer, parameter bacio_module::bacio_noseek = 64

Start I/O from previous spot.

Definition at line 28 of file baciof.F90.

Referenced by bareadl(), bawritel(), and wrytel().

◆ bacio_openr

integer, parameter bacio_module::bacio_openr = 1

Open file for read only.

Definition at line 22 of file baciof.F90.

Referenced by baopenr().

◆ bacio_openrw

integer, parameter bacio_module::bacio_openrw = 4

Open file for read or write.

Definition at line 24 of file baciof.F90.

Referenced by baopen().

◆ bacio_openw

integer, parameter bacio_module::bacio_openw = 2

Open file for write only.

Definition at line 23 of file baciof.F90.

Referenced by baopenw().

◆ bacio_openwa

integer, parameter bacio_module::bacio_openwa = 256

Open for write only with append.

Definition at line 30 of file baciof.F90.

Referenced by baopenwa().

◆ bacio_openwt

integer, parameter bacio_module::bacio_openwt = 128

Open for write only with truncation.

Definition at line 29 of file baciof.F90.

Referenced by baopenwt().

◆ bacio_read

integer, parameter bacio_module::bacio_read = 16

Read from the file.

Definition at line 26 of file baciof.F90.

Referenced by bareadl().

◆ bacio_write

integer, parameter bacio_module::bacio_write = 32

Write to the file.

Definition at line 27 of file baciof.F90.

Referenced by bawritel(), and wrytel().

◆ baopts

integer, dimension(20), save bacio_module::baopts = 0

Array of option settings.

Only the first element of the array is used.

Definition at line 20 of file baciof.F90.

Referenced by bareadl(), and baseto().

◆ fd

integer, dimension(fddim), save bacio_module::fd = FDDIM*0

Array IDs of currently open files.

Definition at line 16 of file baciof.F90.

Referenced by baclose(), baopen(), baopenr(), baopenw(), baopenwa(), baopenwt(), bareadl(), bawritel(), and wrytel().

◆ fddim

integer, parameter bacio_module::fddim = 9999

Maximum number of open files in bacio library.

Definition at line 13 of file baciof.F90.

Referenced by baclose(), baopen(), baopenr(), baopenw(), baopenwa(), baopenwt(), bareadl(), bawritel(), and wrytel().