ROMS
Loading...
Searching...
No Matches
mod_netcdf::netcdf_put_fvar Interface Reference

Public Member Functions

subroutine netcdf_put_fvar_0dp (ng, model, ncname, myvarname, a, start, total, ncid, varid)
 
subroutine netcdf_put_fvar_1dp (ng, model, ncname, myvarname, a, start, total, ncid, varid)
 
subroutine netcdf_put_fvar_2dp (ng, model, ncname, myvarname, a, start, total, ncid, varid)
 
subroutine netcdf_put_fvar_3dp (ng, model, ncname, myvarname, a, start, total, ncid, varid)
 
subroutine netcdf_put_fvar_0d (ng, model, ncname, myvarname, a, start, total, ncid, varid)
 
subroutine netcdf_put_fvar_1d (ng, model, ncname, myvarname, a, start, total, ncid, varid)
 
subroutine netcdf_put_fvar_2d (ng, model, ncname, myvarname, a, start, total, ncid, varid)
 
subroutine netcdf_put_fvar_3d (ng, model, ncname, myvarname, a, start, total, ncid, varid)
 
subroutine netcdf_put_fvar_4d (ng, model, ncname, myvarname, a, start, total, ncid, varid)
 

Detailed Description

Definition at line 82 of file mod_netcdf.F.

Member Function/Subroutine Documentation

◆ netcdf_put_fvar_0d()

subroutine mod_netcdf::netcdf_put_fvar::netcdf_put_fvar_0d ( integer, intent(in) ng,
integer, intent(in) model,
character (len=*), intent(in) ncname,
character (len=*), intent(in) myvarname,
real(r8), intent(in) a,
integer, dimension(:), intent(in) start,
integer, dimension(:), intent(in) total,
integer, intent(in), optional ncid,
integer, intent(in), optional varid )

Definition at line 6956 of file mod_netcdf.F.

6958!
6959!=======================================================================
6960! !
6961! This routine writes a floating-point scalar variable into a NetCDF !
6962! file. If the NetCDF ID is not provided, it opens the file, writes !
6963! data, and then closes the file. !
6964! !
6965! On Input: !
6966! !
6967! ng Nested grid number (integer) !
6968! model Calling model identifier (integer) !
6969! ncname NetCDF file name (string) !
6970! myVarName Variable name (string) !
6971! A Data value(s) to be written (real) !
6972! start Starting index where the first of the data values !
6973! will be written along each dimension (integer) !
6974! total Number of data values to be written along each !
6975! dimension (integer) !
6976! ncid NetCDF file ID (integer, OPTIONAL) !
6977! varid NetCDF variable ID (integer, OPTIONAL) !
6978! !
6979! On Ouput: !
6980! !
6981! exit_flag Error flag (integer) stored in MOD_SCALARS !
6982! ioerror NetCDF return code (integer) stored in MOD_IOUNITS !
6983! !
6984! Notice: This routine must be used to write only nontiled variables. !
6985! !
6986!=======================================================================
6987!
6988! Imported variable declarations.
6989!
6990 integer, intent(in) :: ng, model
6991
6992 integer, intent(in) :: start(:), total(:)
6993
6994 integer, intent(in), optional :: ncid, varid
6995!
6996 real(r8), intent(in) :: A
6997!
6998 character (len=*), intent(in) :: ncname
6999 character (len=*), intent(in) :: myVarName
7000!
7001! Local variable declarations.
7002!
7003 integer :: my_ncid, my_varid, status
7004
7005#if !defined PARALLEL_IO && defined DISTRIBUTE
7006 integer, dimension(2) :: ibuffer
7007#endif
7008!
7009 real(r8), dimension(1) :: my_A
7010!
7011 character (len=*), parameter :: MyFile = &
7012 & __FILE__//", netcdf_put_fvar_0d"
7013!
7014!-----------------------------------------------------------------------
7015! Read in a floating-point scalar variable.
7016!-----------------------------------------------------------------------
7017!
7018! If file ID is not provided, open file for writing.
7019!
7020 IF (.not.PRESENT(ncid)) THEN
7021 CALL netcdf_open (ng, model, trim(ncname), 1, my_ncid)
7022 IF (founderror(exit_flag, noerror, __line__, myfile)) RETURN
7023 ELSE
7024 my_ncid=ncid
7025 END IF
7026!
7027! If variable ID is not provided, inquire its value.
7028!
7029 IF (outthread) THEN
7030 IF (.not.PRESENT(varid)) THEN
7031 status=nf90_inq_varid(my_ncid, trim(myvarname), my_varid)
7032 IF (founderror(status, nf90_noerr, __line__, myfile)) THEN
7033 WRITE (stdout,10) trim(myvarname), trim(ncname), &
7034 & trim(sourcefile), nf90_strerror(status)
7035 exit_flag=3
7036 ioerror=status
7037 END IF
7038 ELSE
7039 my_varid=varid
7040 END IF
7041!
7042! Write out data.
7043!
7044 IF (exit_flag.eq.noerror) THEN
7045 IF ((start(1).eq.0).and.(total(1).eq.0)) THEN
7046 status=nf90_put_var(my_ncid, my_varid, a)
7047 ELSE
7048 my_a(1)=a
7049 status=nf90_put_var(my_ncid, my_varid, my_a, start, total)
7050 END IF
7051 IF (founderror(status, nf90_noerr, __line__, myfile)) THEN
7052 WRITE (stdout,20) trim(myvarname), trim(ncname), &
7053 & trim(sourcefile), nf90_strerror(status)
7054 exit_flag=3
7055 ioerror=status
7056 END IF
7057 END IF
7058 END IF
7059
7060#if !defined PARALLEL_IO && defined DISTRIBUTE
7061!
7062! Broadcast error flags to all processors in the group.
7063!
7064 ibuffer(1)=exit_flag
7065 ibuffer(2)=ioerror
7066 CALL mp_bcasti (ng, model, ibuffer)
7067 exit_flag=ibuffer(1)
7068 ioerror=ibuffer(2)
7069#endif
7070!
7071! Close input file.
7072!
7073 IF (.not.PRESENT(ncid)) THEN
7074 CALL netcdf_close (ng, model, my_ncid, ncname, .false.)
7075 END IF
7076!
7077 10 FORMAT (/,' NETCDF_PUT_FVAR_0D - error while inquiring ID for ', &
7078 & 'variable:',2x,a,/,22x,'in input file:',2x,a,/,22x, &
7079 & 'call from:',2x,a,/,22x,a)
7080 20 FORMAT (/,' NETCDF_PUT_FVAR_0D - error while writing variable:', &
7081 & 2x,a,/,22x,'in input file:',2x,a,/,22x,'call from:',2x,a, &
7082 & /,22x,a)
7083!
7084 RETURN

References mod_scalars::exit_flag, mod_iounits::ioerror, mod_netcdf::netcdf_close(), mod_netcdf::netcdf_open(), mod_scalars::noerror, mod_parallel::outthread, mod_iounits::sourcefile, and mod_iounits::stdout.

Here is the call graph for this function:

◆ netcdf_put_fvar_0dp()

subroutine mod_netcdf::netcdf_put_fvar::netcdf_put_fvar_0dp ( integer, intent(in) ng,
integer, intent(in) model,
character (len=*), intent(in) ncname,
character (len=*), intent(in) myvarname,
real(dp), intent(in) a,
integer, dimension(:), intent(in) start,
integer, dimension(:), intent(in) total,
integer, intent(in), optional ncid,
integer, intent(in), optional varid )

Definition at line 6452 of file mod_netcdf.F.

6454!
6455!=======================================================================
6456! !
6457! This routine writes a double-precision scalar variable into a !
6458! NetCDF file. If the NetCDF ID is not provided, it opens the file, !
6459! writes data, and then closes the file. !
6460! !
6461! On Input: !
6462! !
6463! ng Nested grid number (integer) !
6464! model Calling model identifier (integer) !
6465! ncname NetCDF file name (string) !
6466! myVarName Variable name (string) !
6467! A Data value(s) to be written (double precision) !
6468! start Starting index where the first of the data values !
6469! will be written along each dimension (integer) !
6470! total Number of data values to be written along each !
6471! dimension (integer) !
6472! ncid NetCDF file ID (integer, OPTIONAL) !
6473! varid NetCDF variable ID (integer, OPTIONAL) !
6474! !
6475! On Ouput: !
6476! !
6477! exit_flag Error flag (integer) stored in MOD_SCALARS !
6478! ioerror NetCDF return code (integer) stored in MOD_IOUNITS !
6479! !
6480! Notice: This routine must be used to write only nontiled variables. !
6481! !
6482!=======================================================================
6483!
6484! Imported variable declarations.
6485!
6486 integer, intent(in) :: ng, model
6487
6488 integer, intent(in) :: start(:), total(:)
6489
6490 integer, intent(in), optional :: ncid, varid
6491!
6492 real(dp), intent(in) :: A
6493!
6494 character (len=*), intent(in) :: ncname
6495 character (len=*), intent(in) :: myVarName
6496!
6497! Local variable declarations.
6498!
6499 integer :: my_ncid, my_varid, status
6500
6501# if !defined PARALLEL_IO && defined DISTRIBUTE
6502 integer, dimension(2) :: ibuffer
6503# endif
6504!
6505 real(dp), dimension(1) :: my_A
6506!
6507 character (len=*), parameter :: MyFile = &
6508 & __FILE__//", netcdf_put_fvar_0dp"
6509!
6510!-----------------------------------------------------------------------
6511! Read in a double-precision scalar variable.
6512!-----------------------------------------------------------------------
6513!
6514! If file ID is not provided, open file for writing.
6515!
6516 IF (.not.PRESENT(ncid)) THEN
6517 CALL netcdf_open (ng, model, trim(ncname), 1, my_ncid)
6518 IF (founderror(exit_flag, noerror, __line__, myfile)) RETURN
6519 ELSE
6520 my_ncid=ncid
6521 END IF
6522!
6523! If variable ID is not provided, inquire its value.
6524!
6525 IF (outthread) THEN
6526 IF (.not.PRESENT(varid)) THEN
6527 status=nf90_inq_varid(my_ncid, trim(myvarname), my_varid)
6528 IF (founderror(status, nf90_noerr, __line__, myfile)) THEN
6529 WRITE (stdout,10) trim(myvarname), trim(ncname), &
6530 & trim(sourcefile), nf90_strerror(status)
6531 exit_flag=3
6532 ioerror=status
6533 END IF
6534 ELSE
6535 my_varid=varid
6536 END IF
6537!
6538! Write out data.
6539!
6540 IF (exit_flag.eq.noerror) THEN
6541 IF ((start(1).eq.0).and.(total(1).eq.0)) THEN
6542 status=nf90_put_var(my_ncid, my_varid, a)
6543 ELSE
6544 my_a(1)=a
6545 status=nf90_put_var(my_ncid, my_varid, my_a, start, total)
6546 END IF
6547 IF (founderror(status, nf90_noerr, __line__, myfile)) THEN
6548 WRITE (stdout,20) trim(myvarname), trim(ncname), &
6549 & trim(sourcefile), nf90_strerror(status)
6550 exit_flag=3
6551 ioerror=status
6552 END IF
6553 END IF
6554 END IF
6555
6556# if !defined PARALLEL_IO && defined DISTRIBUTE
6557!
6558! Broadcast error flags to all processors in the group.
6559!
6560 ibuffer(1)=exit_flag
6561 ibuffer(2)=ioerror
6562 CALL mp_bcasti (ng, model, ibuffer)
6563 exit_flag=ibuffer(1)
6564 ioerror=ibuffer(2)
6565# endif
6566!
6567! Close input file.
6568!
6569 IF (.not.PRESENT(ncid)) THEN
6570 CALL netcdf_close (ng, model, my_ncid, ncname, .false.)
6571 END IF
6572!
6573 10 FORMAT (/,' NETCDF_PUT_FVAR_0DP - error while inquiring ID for ', &
6574 & 'variable:',2x,a,/,23x,'in input file:',2x,a,/,23x, &
6575 & 'call from:',2x,a,/,23x,a)
6576 20 FORMAT (/,' NETCDF_PUT_FVAR_0DP - error while writing variable:', &
6577 & 2x,a,/,23x,'in input file:',2x,a,/,23x,'call from:',2x,a, &
6578 & /,23x,a)
6579!
6580 RETURN

References mod_scalars::exit_flag, mod_iounits::ioerror, mod_netcdf::netcdf_close(), mod_netcdf::netcdf_open(), mod_scalars::noerror, mod_parallel::outthread, mod_iounits::sourcefile, and mod_iounits::stdout.

Here is the call graph for this function:

◆ netcdf_put_fvar_1d()

subroutine mod_netcdf::netcdf_put_fvar::netcdf_put_fvar_1d ( integer, intent(in) ng,
integer, intent(in) model,
character (len=*), intent(in) ncname,
character (len=*), intent(in) myvarname,
real(r8), dimension(:), intent(in) a,
integer, dimension(:), intent(in) start,
integer, dimension(:), intent(in) total,
integer, intent(in), optional ncid,
integer, intent(in), optional varid )

Definition at line 7087 of file mod_netcdf.F.

7089!
7090!=======================================================================
7091! !
7092! This routine writes a floating-point 1D-array variable into a file. !
7093! If the NetCDF ID is not provided, it opens the file, writes data, !
7094! and then closes the file. !
7095! !
7096! On Input: !
7097! !
7098! ng Nested grid number (integer) !
7099! model Calling model identifier (integer) !
7100! ncname NetCDF file name (string) !
7101! myVarName Variable name (string) !
7102! A Data value(s) to be written (real) !
7103! start Starting index where the first of the data values !
7104! will be written along each dimension (integer) !
7105! total Number of data values to be written along each !
7106! dimension (integer) !
7107! ncid NetCDF file ID (integer, OPTIONAL) !
7108! varid NetCDF variable ID (integer, OPTIONAL) !
7109! !
7110! On Ouput: !
7111! !
7112! exit_flag Error flag (integer) stored in MOD_SCALARS !
7113! ioerror NetCDF return code (integer) stored in MOD_IOUNITS !
7114! !
7115! Notice: This routine must be used to write only nontiled variables. !
7116! !
7117!=======================================================================
7118!
7119! Imported variable declarations.
7120!
7121 integer, intent(in) :: ng, model
7122
7123 integer, intent(in) :: start(:), total(:)
7124
7125 integer, intent(in), optional :: ncid, varid
7126!
7127 real(r8), intent(in) :: A(:)
7128!
7129 character (len=*), intent(in) :: ncname
7130 character (len=*), intent(in) :: myVarName
7131!
7132! Local variable declarations.
7133!
7134 integer :: my_ncid, my_varid, status
7135
7136#if !defined PARALLEL_IO && defined DISTRIBUTE
7137 integer, dimension(2) :: ibuffer
7138#endif
7139!
7140 character (len=*), parameter :: MyFile = &
7141 & __FILE__//", netcdf_put_fvar_1d"
7142!
7143!-----------------------------------------------------------------------
7144! Read in a floating-point 1D-array variable.
7145!-----------------------------------------------------------------------
7146!
7147! If file ID is not provided, open file for writing.
7148!
7149 IF (.not.PRESENT(ncid)) THEN
7150 CALL netcdf_open (ng, model, trim(ncname), 1, my_ncid)
7151 IF (founderror(exit_flag, noerror, __line__, myfile)) RETURN
7152 ELSE
7153 my_ncid=ncid
7154 END IF
7155!
7156! If variable ID is not provided, inquire its value.
7157!
7158 IF (outthread) THEN
7159 IF (.not.PRESENT(varid)) THEN
7160 status=nf90_inq_varid(my_ncid, trim(myvarname), my_varid)
7161 IF (founderror(status, nf90_noerr, __line__, myfile)) THEN
7162 WRITE (stdout,10) trim(myvarname), trim(ncname), &
7163 & trim(sourcefile), nf90_strerror(status)
7164 exit_flag=3
7165 ioerror=status
7166 END IF
7167 ELSE
7168 my_varid=varid
7169 END IF
7170!
7171! Write out data.
7172!
7173 IF (exit_flag.eq.noerror) THEN
7174 status=nf90_put_var(my_ncid, my_varid, a, start, total)
7175 IF (founderror(status, nf90_noerr, __line__, myfile)) THEN
7176 WRITE (stdout,20) trim(myvarname), trim(ncname), &
7177 & trim(sourcefile), nf90_strerror(status)
7178 exit_flag=3
7179 ioerror=status
7180 END IF
7181 END IF
7182 END IF
7183
7184#if !defined PARALLEL_IO && defined DISTRIBUTE
7185!
7186! Broadcast error flags to all processors in the group.
7187!
7188 ibuffer(1)=exit_flag
7189 ibuffer(2)=ioerror
7190 CALL mp_bcasti (ng, model, ibuffer)
7191 exit_flag=ibuffer(1)
7192 ioerror=ibuffer(2)
7193#endif
7194!
7195! Close input file.
7196!
7197 IF (.not.PRESENT(ncid)) THEN
7198 CALL netcdf_close (ng, model, my_ncid, ncname, .false.)
7199 END IF
7200!
7201 10 FORMAT (/,' NETCDF_PUT_FVAR_1D - error while inquiring ID for ', &
7202 & 'variable:',2x,a,/,22x,'in input file:',2x,a,/,22x, &
7203 & 'call from:',2x,a,/,22x,a)
7204 20 FORMAT (/,' NETCDF_PUT_FVAR_1D - error while writing variable:', &
7205 & 2x,a,/,22x,'in input file:',2x,a,/,22x,'call from:',2x,a, &
7206 & /,22x,a)
7207!
7208 RETURN

References mod_scalars::exit_flag, mod_iounits::ioerror, mod_netcdf::netcdf_close(), mod_netcdf::netcdf_open(), mod_scalars::noerror, mod_parallel::outthread, mod_iounits::sourcefile, and mod_iounits::stdout.

Here is the call graph for this function:

◆ netcdf_put_fvar_1dp()

subroutine mod_netcdf::netcdf_put_fvar::netcdf_put_fvar_1dp ( integer, intent(in) ng,
integer, intent(in) model,
character (len=*), intent(in) ncname,
character (len=*), intent(in) myvarname,
real(dp), dimension(:), intent(in) a,
integer, dimension(:), intent(in) start,
integer, dimension(:), intent(in) total,
integer, intent(in), optional ncid,
integer, intent(in), optional varid )

Definition at line 6583 of file mod_netcdf.F.

6585!
6586!=======================================================================
6587! !
6588! This routine writes a double-precision 1D-array variable into a !
6589! file. If the NetCDF ID is not provided, it opens the file, writes !
6590! data, and then closes the file. !
6591! !
6592! On Input: !
6593! !
6594! ng Nested grid number (integer) !
6595! model Calling model identifier (integer) !
6596! ncname NetCDF file name (string) !
6597! myVarName Variable name (string) !
6598! A Data value(s) to be written (double precision) !
6599! start Starting index where the first of the data values !
6600! will be written along each dimension (integer) !
6601! total Number of data values to be written along each !
6602! dimension (integer) !
6603! ncid NetCDF file ID (integer, OPTIONAL) !
6604! varid NetCDF variable ID (integer, OPTIONAL) !
6605! !
6606! On Ouput: !
6607! !
6608! exit_flag Error flag (integer) stored in MOD_SCALARS !
6609! ioerror NetCDF return code (integer) stored in MOD_IOUNITS !
6610! !
6611! Notice: This routine must be used to write only nontiled variables. !
6612! !
6613!=======================================================================
6614!
6615! Imported variable declarations.
6616!
6617 integer, intent(in) :: ng, model
6618
6619 integer, intent(in) :: start(:), total(:)
6620
6621 integer, intent(in), optional :: ncid, varid
6622!
6623 real(dp), intent(in) :: A(:)
6624!
6625 character (len=*), intent(in) :: ncname
6626 character (len=*), intent(in) :: myVarName
6627!
6628! Local variable declarations.
6629!
6630 integer :: my_ncid, my_varid, status
6631
6632# if !defined PARALLEL_IO && defined DISTRIBUTE
6633 integer, dimension(2) :: ibuffer
6634# endif
6635!
6636 character (len=*), parameter :: MyFile = &
6637 & __FILE__//", netcdf_put_fvar_1dp"
6638!
6639!-----------------------------------------------------------------------
6640! Read in a double-precision 1D-array variable.
6641!-----------------------------------------------------------------------
6642!
6643! If file ID is not provided, open file for writing.
6644!
6645 IF (.not.PRESENT(ncid)) THEN
6646 CALL netcdf_open (ng, model, trim(ncname), 1, my_ncid)
6647 IF (founderror(exit_flag, noerror, __line__, myfile)) RETURN
6648 ELSE
6649 my_ncid=ncid
6650 END IF
6651!
6652! If variable ID is not provided, inquire its value.
6653!
6654 IF (outthread) THEN
6655 IF (.not.PRESENT(varid)) THEN
6656 status=nf90_inq_varid(my_ncid, trim(myvarname), my_varid)
6657 IF (founderror(status, nf90_noerr, __line__, myfile)) THEN
6658 WRITE (stdout,10) trim(myvarname), trim(ncname), &
6659 & trim(sourcefile), nf90_strerror(status)
6660 exit_flag=3
6661 ioerror=status
6662 END IF
6663 ELSE
6664 my_varid=varid
6665 END IF
6666!
6667! Write out data.
6668!
6669 IF (exit_flag.eq.noerror) THEN
6670 status=nf90_put_var(my_ncid, my_varid, a, start, total)
6671 IF (founderror(status, nf90_noerr, __line__, myfile)) THEN
6672 WRITE (stdout,20) trim(myvarname), trim(ncname), &
6673 & trim(sourcefile), nf90_strerror(status)
6674 exit_flag=3
6675 ioerror=status
6676 END IF
6677 END IF
6678 END IF
6679
6680# if !defined PARALLEL_IO && defined DISTRIBUTE
6681!
6682! Broadcast error flags to all processors in the group.
6683!
6684 ibuffer(1)=exit_flag
6685 ibuffer(2)=ioerror
6686 CALL mp_bcasti (ng, model, ibuffer)
6687 exit_flag=ibuffer(1)
6688 ioerror=ibuffer(2)
6689# endif
6690!
6691! Close input file.
6692!
6693 IF (.not.PRESENT(ncid)) THEN
6694 CALL netcdf_close (ng, model, my_ncid, ncname, .false.)
6695 END IF
6696!
6697 10 FORMAT (/,' NETCDF_PUT_FVAR_1DP - error while inquiring ID for ', &
6698 & 'variable:',2x,a,/,23x,'in input file:',2x,a,/,23x, &
6699 & 'call from:',2x,a,/,23x,a)
6700 20 FORMAT (/,' NETCDF_PUT_FVAR_1DP - error while writing variable:', &
6701 & 2x,a,/,23x,'in input file:',2x,a,/,23x,'call from:',2x,a, &
6702 & /,23x,a)
6703!
6704 RETURN

References mod_scalars::exit_flag, mod_iounits::ioerror, mod_netcdf::netcdf_close(), mod_netcdf::netcdf_open(), mod_scalars::noerror, mod_parallel::outthread, mod_iounits::sourcefile, and mod_iounits::stdout.

Here is the call graph for this function:

◆ netcdf_put_fvar_2d()

subroutine mod_netcdf::netcdf_put_fvar::netcdf_put_fvar_2d ( integer, intent(in) ng,
integer, intent(in) model,
character (len=*), intent(in) ncname,
character (len=*), intent(in) myvarname,
real(r8), dimension(:,:), intent(in) a,
integer, dimension(:), intent(in) start,
integer, dimension(:), intent(in) total,
integer, intent(in), optional ncid,
integer, intent(in), optional varid )

Definition at line 7211 of file mod_netcdf.F.

7213!
7214!=======================================================================
7215! !
7216! This routine writes a floating-point 2D-array variable into a file. !
7217! If the NetCDF ID is not provided, it opens the file, writes data, !
7218! and then closes the file. !
7219! !
7220! On Input: !
7221! !
7222! ng Nested grid number (integer) !
7223! model Calling model identifier (integer) !
7224! ncname NetCDF file name (string) !
7225! myVarName Variable name (string) !
7226! A Data value(s) to be written (real) !
7227! start Starting index where the first of the data values !
7228! will be written along each dimension (integer) !
7229! total Number of data values to be written along each !
7230! dimension (integer) !
7231! ncid NetCDF file ID (integer, OPTIONAL) !
7232! varid NetCDF variable ID (integer, OPTIONAL) !
7233! !
7234! On Ouput: !
7235! !
7236! exit_flag Error flag (integer) stored in MOD_SCALARS !
7237! ioerror NetCDF return code (integer) stored in MOD_IOUNITS !
7238! !
7239! Notice: This routine must be used to write only nontiled variables. !
7240! !
7241!=======================================================================
7242!
7243! Imported variable declarations.
7244!
7245 integer, intent(in) :: ng, model
7246
7247 integer, intent(in) :: start(:), total(:)
7248
7249 integer, intent(in), optional :: ncid, varid
7250!
7251 real(r8), intent(in) :: A(:,:)
7252!
7253 character (len=*), intent(in) :: ncname
7254 character (len=*), intent(in) :: myVarName
7255!
7256! Local variable declarations.
7257!
7258 integer :: my_ncid, my_varid, status
7259
7260#if !defined PARALLEL_IO && defined DISTRIBUTE
7261 integer, dimension(2) :: ibuffer
7262#endif
7263!
7264 character (len=*), parameter :: MyFile = &
7265 & __FILE__//", netcdf_put_fvar_2d"
7266!
7267!-----------------------------------------------------------------------
7268! Read in a floating-point 2D-array variable.
7269!-----------------------------------------------------------------------
7270!
7271! If file ID is not provided, open file for writing.
7272!
7273 IF (.not.PRESENT(ncid)) THEN
7274 CALL netcdf_open (ng, model, trim(ncname), 1, my_ncid)
7275 IF (founderror(exit_flag, noerror, __line__, myfile)) RETURN
7276 ELSE
7277 my_ncid=ncid
7278 END IF
7279!
7280! If variable ID is not provided, inquire its value.
7281!
7282 IF (outthread) THEN
7283 IF (.not.PRESENT(varid)) THEN
7284 status=nf90_inq_varid(my_ncid, trim(myvarname), my_varid)
7285 IF (founderror(status, nf90_noerr, __line__, myfile)) THEN
7286 WRITE (stdout,10) trim(myvarname), trim(ncname), &
7287 & trim(sourcefile), nf90_strerror(status)
7288 exit_flag=3
7289 ioerror=status
7290 END IF
7291 ELSE
7292 my_varid=varid
7293 END IF
7294!
7295! Write out data.
7296!
7297 IF (exit_flag.eq.noerror) THEN
7298 status=nf90_put_var(my_ncid, my_varid, a, start, total)
7299 IF (founderror(status, nf90_noerr, __line__, myfile)) THEN
7300 WRITE (stdout,20) trim(myvarname), trim(ncname), &
7301 & trim(sourcefile), nf90_strerror(status)
7302 exit_flag=3
7303 ioerror=status
7304 END IF
7305 END IF
7306 END IF
7307
7308#if !defined PARALLEL_IO && defined DISTRIBUTE
7309!
7310! Broadcast error flags to all processors in the group.
7311!
7312 ibuffer(1)=exit_flag
7313 ibuffer(2)=ioerror
7314 CALL mp_bcasti (ng, model, ibuffer)
7315 exit_flag=ibuffer(1)
7316 ioerror=ibuffer(2)
7317#endif
7318!
7319! Close input NetCDF file.
7320!
7321 IF (.not.PRESENT(ncid)) THEN
7322 CALL netcdf_close (ng, model, my_ncid, ncname, .false.)
7323 END IF
7324!
7325 10 FORMAT (/,' NETCDF_PUT_FVAR_2D - error while inquiring ID for ', &
7326 & 'variable:',2x,a,/,22x,'in input file:',2x,a,/,22x, &
7327 & 'call from:',2x,a,/,22x,a)
7328 20 FORMAT (/,' NETCDF_PUT_FVAR_2D - error while writing variable:', &
7329 & 2x,a,/,22x,'in input file:',2x,a,/,22x,'call from:',2x,a, &
7330 & /,22x,a)
7331!
7332 RETURN

References mod_scalars::exit_flag, mod_iounits::ioerror, mod_netcdf::netcdf_close(), mod_netcdf::netcdf_open(), mod_scalars::noerror, mod_parallel::outthread, mod_iounits::sourcefile, and mod_iounits::stdout.

Here is the call graph for this function:

◆ netcdf_put_fvar_2dp()

subroutine mod_netcdf::netcdf_put_fvar::netcdf_put_fvar_2dp ( integer, intent(in) ng,
integer, intent(in) model,
character (len=*), intent(in) ncname,
character (len=*), intent(in) myvarname,
real(dp), dimension(:,:), intent(in) a,
integer, dimension(:), intent(in) start,
integer, dimension(:), intent(in) total,
integer, intent(in), optional ncid,
integer, intent(in), optional varid )

Definition at line 6707 of file mod_netcdf.F.

6709!
6710!=======================================================================
6711! !
6712! This routine writes a double-precision 2D-array variable into a !
6713! file. If the NetCDF ID is not provided, it opens the file, writes !
6714! data, and then closes the file. !
6715! !
6716! On Input: !
6717! !
6718! ng Nested grid number (integer) !
6719! model Calling model identifier (integer) !
6720! ncname NetCDF file name (string) !
6721! myVarName Variable name (string) !
6722! A Data value(s) to be written (double precision) !
6723! start Starting index where the first of the data values !
6724! will be written along each dimension (integer) !
6725! total Number of data values to be written along each !
6726! dimension (integer) !
6727! ncid NetCDF file ID (integer, OPTIONAL) !
6728! varid NetCDF variable ID (integer, OPTIONAL) !
6729! !
6730! On Ouput: !
6731! !
6732! exit_flag Error flag (integer) stored in MOD_SCALARS !
6733! ioerror NetCDF return code (integer) stored in MOD_IOUNITS !
6734! !
6735! Notice: This routine must be used to write only nontiled variables. !
6736! !
6737!=======================================================================
6738!
6739! Imported variable declarations.
6740!
6741 integer, intent(in) :: ng, model
6742
6743 integer, intent(in) :: start(:), total(:)
6744
6745 integer, intent(in), optional :: ncid, varid
6746
6747 real(dp), intent(in) :: A(:,:)
6748
6749 character (len=*), intent(in) :: ncname
6750 character (len=*), intent(in) :: myVarName
6751!
6752! Local variable declarations.
6753!
6754 integer :: my_ncid, my_varid, status
6755
6756# if !defined PARALLEL_IO && defined DISTRIBUTE
6757 integer, dimension(2) :: ibuffer
6758# endif
6759!
6760 character (len=*), parameter :: MyFile = &
6761 & __FILE__//", netcdf_put_fvar_2dp"
6762!
6763!-----------------------------------------------------------------------
6764! Read in a double-precision 2D-array variable.
6765!-----------------------------------------------------------------------
6766!
6767! If file ID is not provided, open file for writing.
6768!
6769 IF (.not.PRESENT(ncid)) THEN
6770 CALL netcdf_open (ng, model, trim(ncname), 1, my_ncid)
6771 IF (founderror(exit_flag, noerror, __line__, myfile)) RETURN
6772 ELSE
6773 my_ncid=ncid
6774 END IF
6775!
6776! If variable ID is not provided, inquire its value.
6777!
6778 IF (outthread) THEN
6779 IF (.not.PRESENT(varid)) THEN
6780 status=nf90_inq_varid(my_ncid, trim(myvarname), my_varid)
6781 IF (founderror(status, nf90_noerr, __line__, myfile)) THEN
6782 WRITE (stdout,10) trim(myvarname), trim(ncname), &
6783 & trim(sourcefile), nf90_strerror(status)
6784 exit_flag=3
6785 ioerror=status
6786 END IF
6787 ELSE
6788 my_varid=varid
6789 END IF
6790!
6791! Write out data.
6792!
6793 IF (exit_flag.eq.noerror) THEN
6794 status=nf90_put_var(my_ncid, my_varid, a, start, total)
6795 IF (founderror(status, nf90_noerr, __line__, myfile)) THEN
6796 WRITE (stdout,20) trim(myvarname), trim(ncname), &
6797 & trim(sourcefile), nf90_strerror(status)
6798 exit_flag=3
6799 ioerror=status
6800 END IF
6801 END IF
6802 END IF
6803
6804# if !defined PARALLEL_IO && defined DISTRIBUTE
6805!
6806! Broadcast error flags to all processors in the group.
6807!
6808 ibuffer(1)=exit_flag
6809 ibuffer(2)=ioerror
6810 CALL mp_bcasti (ng, model, ibuffer)
6811 exit_flag=ibuffer(1)
6812 ioerror=ibuffer(2)
6813# endif
6814!
6815! Close input NetCDF file.
6816!
6817 IF (.not.PRESENT(ncid)) THEN
6818 CALL netcdf_close (ng, model, my_ncid, ncname, .false.)
6819 END IF
6820!
6821 10 FORMAT (/,' NETCDF_PUT_FVAR_2DP - error while inquiring ID for ', &
6822 & 'variable:',2x,a,/,23x,'in input file:',2x,a,/,22x, &
6823 & 'call from:',2x,a,/23x,a)
6824 20 FORMAT (/,' NETCDF_PUT_FVAR_2DP - error while writing variable:', &
6825 & 2x,a,/,23x,'in input file:',2x,a,/,23x,'call from:',2x,a, &
6826 & /,23x,a)
6827!
6828 RETURN

References mod_scalars::exit_flag, mod_iounits::ioerror, mod_netcdf::netcdf_close(), mod_netcdf::netcdf_open(), mod_scalars::noerror, mod_parallel::outthread, mod_iounits::sourcefile, and mod_iounits::stdout.

Here is the call graph for this function:

◆ netcdf_put_fvar_3d()

subroutine mod_netcdf::netcdf_put_fvar::netcdf_put_fvar_3d ( integer, intent(in) ng,
integer, intent(in) model,
character (len=*), intent(in) ncname,
character (len=*), intent(in) myvarname,
real(r8), dimension(:,:,:), intent(in) a,
integer, dimension(:), intent(in) start,
integer, dimension(:), intent(in) total,
integer, intent(in), optional ncid,
integer, intent(in), optional varid )

Definition at line 7335 of file mod_netcdf.F.

7337!
7338!=======================================================================
7339! !
7340! This routine writes a floating-point 3D-array variable into a file. !
7341! If the NetCDF ID is not provided, it opens the file, writes data, !
7342! and then closes the file. !
7343! !
7344! On Input: !
7345! !
7346! ng Nested grid number (integer) !
7347! model Calling model identifier (integer) !
7348! ncname NetCDF file name (string) !
7349! myVarName Variable name (string) !
7350! A Data value(s) to be written (real) !
7351! start Starting index where the first of the data values !
7352! will be written along each dimension (integer) !
7353! total Number of data values to be written along each !
7354! dimension (integer) !
7355! ncid NetCDF file ID (integer, OPTIONAL) !
7356! varid NetCDF variable ID (integer, OPTIONAL) !
7357! !
7358! On Ouput: !
7359! !
7360! exit_flag Error flag (integer) stored in MOD_SCALARS !
7361! ioerror NetCDF return code (integer) stored in MOD_IOUNITS !
7362! !
7363! Notice: This routine must be used to write only nontiled variables. !
7364! !
7365!=======================================================================
7366!
7367! Imported variable declarations.
7368!
7369 integer, intent(in) :: ng, model
7370
7371 integer, intent(in) :: start(:), total(:)
7372
7373 integer, intent(in), optional :: ncid, varid
7374!
7375 real(r8), intent(in) :: A(:,:,:)
7376!
7377 character (len=*), intent(in) :: ncname
7378 character (len=*), intent(in) :: myVarName
7379!
7380! Local variable declarations.
7381!
7382 integer :: my_ncid, my_varid, status
7383
7384#if !defined PARALLEL_IO && defined DISTRIBUTE
7385 integer, dimension(2) :: ibuffer
7386#endif
7387!
7388 character (len=*), parameter :: MyFile = &
7389 & __FILE__//", netcdf_put_fvar_3d"
7390!
7391!-----------------------------------------------------------------------
7392! Read in a floating-point 3D-array variable.
7393!-----------------------------------------------------------------------
7394!
7395! If file ID is not provided, open file for writing.
7396!
7397 IF (.not.PRESENT(ncid)) THEN
7398 CALL netcdf_open (ng, model, trim(ncname), 1, my_ncid)
7399 IF (founderror(exit_flag, noerror, __line__, myfile)) RETURN
7400 ELSE
7401 my_ncid=ncid
7402 END IF
7403!
7404! If variable ID is not provided, inquire its value.
7405!
7406 IF (outthread) THEN
7407 IF (.not.PRESENT(varid)) THEN
7408 status=nf90_inq_varid(my_ncid, trim(myvarname), my_varid)
7409 IF (founderror(status, nf90_noerr, __line__, myfile)) THEN
7410 WRITE (stdout,10) trim(myvarname), trim(ncname), &
7411 & trim(sourcefile), nf90_strerror(status)
7412 exit_flag=3
7413 ioerror=status
7414 END IF
7415 ELSE
7416 my_varid=varid
7417 END IF
7418!
7419! Write out data.
7420!
7421 IF (exit_flag.eq.noerror) THEN
7422 status=nf90_put_var(my_ncid, my_varid, a, start, total)
7423 IF (founderror(status, nf90_noerr, __line__, myfile)) THEN
7424 WRITE (stdout,20) trim(myvarname), trim(ncname), &
7425 & trim(sourcefile), nf90_strerror(status)
7426 exit_flag=3
7427 ioerror=status
7428 END IF
7429 END IF
7430 END IF
7431
7432#if !defined PARALLEL_IO && defined DISTRIBUTE
7433!
7434! Broadcast error flags to all processors in the group.
7435!
7436 ibuffer(1)=exit_flag
7437 ibuffer(2)=ioerror
7438 CALL mp_bcasti (ng, model, ibuffer)
7439 exit_flag=ibuffer(1)
7440 ioerror=ibuffer(2)
7441#endif
7442!
7443! Close input NetCDF file.
7444!
7445 IF (.not.PRESENT(ncid)) THEN
7446 CALL netcdf_close (ng, model, my_ncid, ncname, .false.)
7447 END IF
7448!
7449 10 FORMAT (/,' NETCDF_PUT_FVAR_3D - error while inquiring ID for ', &
7450 & 'variable:',2x,a,/,22x,'in input file:',2x,a,/,22x, &
7451 & 'call from:',2x,a,/,22x,a)
7452 20 FORMAT (/,' NETCDF_PUT_FVAR_3D - error while writing variable:', &
7453 & 2x,a,/,22x,'in input file:',2x,a,/,22x,'call from:',2x,a, &
7454 & /,22x,a)
7455!
7456 RETURN

References mod_scalars::exit_flag, mod_iounits::ioerror, mod_netcdf::netcdf_close(), mod_netcdf::netcdf_open(), mod_scalars::noerror, mod_parallel::outthread, mod_iounits::sourcefile, and mod_iounits::stdout.

Here is the call graph for this function:

◆ netcdf_put_fvar_3dp()

subroutine mod_netcdf::netcdf_put_fvar::netcdf_put_fvar_3dp ( integer, intent(in) ng,
integer, intent(in) model,
character (len=*), intent(in) ncname,
character (len=*), intent(in) myvarname,
real(dp), dimension(:,:,:), intent(in) a,
integer, dimension(:), intent(in) start,
integer, dimension(:), intent(in) total,
integer, intent(in), optional ncid,
integer, intent(in), optional varid )

Definition at line 6831 of file mod_netcdf.F.

6833!
6834!=======================================================================
6835! !
6836! This routine writes a double-precision 3D-array variable into a !
6837! file. If the NetCDF ID is not provided, it opens the file, writes !
6838! data, and then closes the file. !
6839! !
6840! On Input: !
6841! !
6842! ng Nested grid number (integer) !
6843! model Calling model identifier (integer) !
6844! ncname NetCDF file name (string) !
6845! myVarName Variable name (string) !
6846! A Data value(s) to be written (real) !
6847! start Starting index where the first of the data values !
6848! will be written along each dimension (integer) !
6849! total Number of data values to be written along each !
6850! dimension (integer) !
6851! ncid NetCDF file ID (integer, OPTIONAL) !
6852! varid NetCDF variable ID (integer, OPTIONAL) !
6853! !
6854! On Ouput: !
6855! !
6856! exit_flag Error flag (integer) stored in MOD_SCALARS !
6857! ioerror NetCDF return code (integer) stored in MOD_IOUNITS !
6858! !
6859! Notice: This routine must be used to write only nontiled variables. !
6860! !
6861!=======================================================================
6862!
6863! Imported variable declarations.
6864!
6865 integer, intent(in) :: ng, model
6866
6867 integer, intent(in) :: start(:), total(:)
6868
6869 integer, intent(in), optional :: ncid, varid
6870!
6871 real(dp), intent(in) :: A(:,:,:)
6872!
6873 character (len=*), intent(in) :: ncname
6874 character (len=*), intent(in) :: myVarName
6875!
6876! Local variable declarations.
6877!
6878 integer :: my_ncid, my_varid, status
6879
6880# if !defined PARALLEL_IO && defined DISTRIBUTE
6881 integer, dimension(2) :: ibuffer
6882# endif
6883!
6884 character (len=*), parameter :: MyFile = &
6885 & __FILE__//", netcdf_put_fvar_3dp"
6886!
6887!-----------------------------------------------------------------------
6888! Read in a double-precision 3D-array variable.
6889!-----------------------------------------------------------------------
6890!
6891! If file ID is not provided, open file for writing.
6892!
6893 IF (.not.PRESENT(ncid)) THEN
6894 CALL netcdf_open (ng, model, trim(ncname), 1, my_ncid)
6895 IF (founderror(exit_flag, noerror, __line__, myfile)) RETURN
6896 ELSE
6897 my_ncid=ncid
6898 END IF
6899!
6900! If variable ID is not provided, inquire its value.
6901!
6902 IF (outthread) THEN
6903 IF (.not.PRESENT(varid)) THEN
6904 status=nf90_inq_varid(my_ncid, trim(myvarname), my_varid)
6905 IF (founderror(status, nf90_noerr, __line__, myfile)) THEN
6906 WRITE (stdout,10) trim(myvarname), trim(ncname), &
6907 & trim(sourcefile), nf90_strerror(status)
6908 exit_flag=3
6909 ioerror=status
6910 END IF
6911 ELSE
6912 my_varid=varid
6913 END IF
6914!
6915! Write out data.
6916!
6917 IF (exit_flag.eq.noerror) THEN
6918 status=nf90_put_var(my_ncid, my_varid, a, start, total)
6919 IF (founderror(status, nf90_noerr, __line__, myfile)) THEN
6920 WRITE (stdout,20) trim(myvarname), trim(ncname), &
6921 & trim(sourcefile), nf90_strerror(status)
6922 exit_flag=3
6923 ioerror=status
6924 END IF
6925 END IF
6926 END IF
6927
6928# if !defined PARALLEL_IO && defined DISTRIBUTE
6929!
6930! Broadcast error flags to all processors in the group.
6931!
6932 ibuffer(1)=exit_flag
6933 ibuffer(2)=ioerror
6934 CALL mp_bcasti (ng, model, ibuffer)
6935 exit_flag=ibuffer(1)
6936 ioerror=ibuffer(2)
6937# endif
6938!
6939! Close input NetCDF file.
6940!
6941 IF (.not.PRESENT(ncid)) THEN
6942 CALL netcdf_close (ng, model, my_ncid, ncname, .false.)
6943 END IF
6944!
6945 10 FORMAT (/,' NETCDF_PUT_FVAR_3DP - error while inquiring ID for ', &
6946 & 'variable:',2x,a,/,23x,'in input file:',2x,a,/,22x, &
6947 & 'call from:',2x,a,/,23x,a)
6948 20 FORMAT (/,' NETCDF_PUT_FVAR_3DP - error while writing variable:', &
6949 & 2x,a,/,23x,'in input file:',2x,a,/,23x,'call from:',2x,a, &
6950 & /,23x,a)
6951!
6952 RETURN

References mod_scalars::exit_flag, mod_iounits::ioerror, mod_netcdf::netcdf_close(), mod_netcdf::netcdf_open(), mod_scalars::noerror, mod_parallel::outthread, mod_iounits::sourcefile, and mod_iounits::stdout.

Here is the call graph for this function:

◆ netcdf_put_fvar_4d()

subroutine mod_netcdf::netcdf_put_fvar::netcdf_put_fvar_4d ( integer, intent(in) ng,
integer, intent(in) model,
character (len=*), intent(in) ncname,
character (len=*), intent(in) myvarname,
real(r8), dimension(:,:,:,:), intent(in) a,
integer, dimension(:), intent(in) start,
integer, dimension(:), intent(in) total,
integer, intent(in), optional ncid,
integer, intent(in), optional varid )

Definition at line 7459 of file mod_netcdf.F.

7461!
7462!=======================================================================
7463! !
7464! This routine writes a floating-point 4D-array variable into a file. !
7465! If the NetCDF ID is not provided, it opens the file, writes data, !
7466! and then closes the file. !
7467! !
7468! On Input: !
7469! !
7470! ng Nested grid number (integer) !
7471! model Calling model identifier (integer) !
7472! ncname NetCDF file name (string) !
7473! myVarName Variable name (string) !
7474! A Data value(s) to be written (real) !
7475! start Starting index where the first of the data values !
7476! will be written along each dimension (integer) !
7477! total Number of data values to be written along each !
7478! dimension (integer) !
7479! ncid NetCDF file ID (integer, OPTIONAL) !
7480! varid NetCDF variable ID (integer, OPTIONAL) !
7481! !
7482! On Ouput: !
7483! !
7484! exit_flag Error flag (integer) stored in MOD_SCALARS !
7485! ioerror NetCDF return code (integer) stored in MOD_IOUNITS !
7486! !
7487! Notice: This routine must be used to write only nontiled variables. !
7488! !
7489!=======================================================================
7490!
7491! Imported variable declarations.
7492!
7493 integer, intent(in) :: ng, model
7494
7495 integer, intent(in) :: start(:), total(:)
7496
7497 integer, intent(in), optional :: ncid, varid
7498!
7499 real(r8), intent(in) :: A(:,:,:,:)
7500!
7501 character (len=*), intent(in) :: ncname
7502 character (len=*), intent(in) :: myVarName
7503!
7504! Local variable declarations.
7505!
7506 integer :: my_ncid, my_varid, status
7507
7508#if !defined PARALLEL_IO && defined DISTRIBUTE
7509 integer, dimension(2) :: ibuffer
7510#endif
7511!
7512 character (len=*), parameter :: MyFile = &
7513 & __FILE__//", netcdf_put_fvar_4d"
7514!
7515!-----------------------------------------------------------------------
7516! Read in a floating-point 4D-array variable.
7517!-----------------------------------------------------------------------
7518!
7519! If NetCDF file ID is not provided, open NetCDF for writing.
7520!
7521 IF (.not.PRESENT(ncid)) THEN
7522 CALL netcdf_open (ng, model, trim(ncname), 1, my_ncid)
7523 IF (founderror(exit_flag, noerror, __line__, myfile)) RETURN
7524 ELSE
7525 my_ncid=ncid
7526 END IF
7527!
7528! If variable ID is not provided, inquire its value.
7529!
7530 IF (outthread) THEN
7531 IF (.not.PRESENT(varid)) THEN
7532 status=nf90_inq_varid(my_ncid, trim(myvarname), my_varid)
7533 IF (founderror(status, nf90_noerr, __line__, myfile)) THEN
7534 WRITE (stdout,10) trim(myvarname), trim(ncname), &
7535 & trim(sourcefile), nf90_strerror(status)
7536 exit_flag=3
7537 ioerror=status
7538 END IF
7539 ELSE
7540 my_varid=varid
7541 END IF
7542!
7543! Write out data.
7544!
7545 IF (exit_flag.eq.noerror) THEN
7546 status=nf90_put_var(my_ncid, my_varid, a, start, total)
7547 IF (founderror(status, nf90_noerr, __line__, myfile)) THEN
7548 WRITE (stdout,20) trim(myvarname), trim(ncname), &
7549 & trim(sourcefile), nf90_strerror(status)
7550 exit_flag=3
7551 ioerror=status
7552 END IF
7553 END IF
7554 END IF
7555
7556#if !defined PARALLEL_IO && defined DISTRIBUTE
7557!
7558! Broadcast error flags to all processors in the group.
7559!
7560 ibuffer(1)=exit_flag
7561 ibuffer(2)=ioerror
7562 CALL mp_bcasti (ng, model, ibuffer)
7563 exit_flag=ibuffer(1)
7564 ioerror=ibuffer(2)
7565#endif
7566!
7567! Close input NetCDF file.
7568!
7569 IF (.not.PRESENT(ncid)) THEN
7570 CALL netcdf_close (ng, model, my_ncid, ncname, .false.)
7571 END IF
7572!
7573 10 FORMAT (/,' NETCDF_PUT_FVAR_4D - error while inquiring ID for ', &
7574 & 'variable:',2x,a,/,22x,'in input file:',2x,a,/,22x, &
7575 & 'call from:',2x,a,/,22x,a)
7576 20 FORMAT (/,' NETCDF_PUT_FVAR_4D - error while writing variable:', &
7577 & 2x,a,/,22x,'in input file:',2x,a,/,22x,'call from:',2x,a, &
7578 & /,22x,a)
7579!
7580 RETURN

References mod_scalars::exit_flag, mod_iounits::ioerror, mod_netcdf::netcdf_close(), mod_netcdf::netcdf_open(), mod_scalars::noerror, mod_parallel::outthread, mod_iounits::sourcefile, and mod_iounits::stdout.

Here is the call graph for this function:

The documentation for this interface was generated from the following file: