FORCES
FORtran lib for Comp. Env. Sys.
|
Variable simple write in netcdf. More...
Public Member Functions | |
subroutine | dump_netcdf_1d_sp (filename, arr, append, lfs, netcdf4, deflate_level) |
subroutine | dump_netcdf_2d_sp (filename, arr, append, lfs, netcdf4, deflate_level) |
subroutine | dump_netcdf_3d_sp (filename, arr, append, lfs, netcdf4, deflate_level) |
subroutine | dump_netcdf_4d_sp (filename, arr, append, lfs, netcdf4, deflate_level) |
subroutine | dump_netcdf_5d_sp (filename, arr, append, lfs, netcdf4, deflate_level) |
subroutine | dump_netcdf_1d_dp (filename, arr, append, lfs, netcdf4, deflate_level) |
subroutine | dump_netcdf_2d_dp (filename, arr, append, lfs, netcdf4, deflate_level) |
subroutine | dump_netcdf_3d_dp (filename, arr, append, lfs, netcdf4, deflate_level) |
subroutine | dump_netcdf_4d_dp (filename, arr, append, lfs, netcdf4, deflate_level) |
subroutine | dump_netcdf_5d_dp (filename, arr, append, lfs, netcdf4, deflate_level) |
subroutine | dump_netcdf_1d_i4 (filename, arr, append, lfs, netcdf4, deflate_level) |
subroutine | dump_netcdf_2d_i4 (filename, arr, append, lfs, netcdf4, deflate_level) |
subroutine | dump_netcdf_3d_i4 (filename, arr, append, lfs, netcdf4, deflate_level) |
subroutine | dump_netcdf_4d_i4 (filename, arr, append, lfs, netcdf4, deflate_level) |
subroutine | dump_netcdf_5d_i4 (filename, arr, append, lfs, netcdf4, deflate_level) |
Variable simple write in netcdf.
Simple write of a variable in a netcdf file.
The variabel can be 1 to 5 dimensional and single or double precision.
1D and 2D are dumped as static variables. From 3 to 5 dimension, the last dimension will be defined as time.
The Variable will be called var.
Example
call dump_netcdf('test.nc', myarray) call dump_netcdf('test.nc', myarray, netcdf4=.true.)
See also example in test!
[in] | character(len=*) :: filename | Name of netcdf output file. |
[in] | real(sp/dp) :: arr(:[,:[,:[,:[,:]]]]) | 1D to 5D-array with input numbers. |
[in] | logical, optional :: lfs | True: enable netcdf3 large file support, i.e. 64-bit offset. |
[in] | logical, optional :: logical | True: use netcdf4 format. |
[in] | integer(i4), optional :: deflate_level | Compression level in netcdf4 (default: 1). |
Definition at line 144 of file mo_ncwrite.f90.
subroutine mo_ncwrite::dump_netcdf::dump_netcdf_1d_dp | ( | character(len = *), intent(in) | filename, |
real(dp), dimension(:), intent(in) | arr, | ||
logical, intent(in), optional | append, | ||
logical, intent(in), optional | lfs, | ||
logical, intent(in), optional | netcdf4, | ||
integer(i4), intent(in), optional | deflate_level | ||
) |
Definition at line 1264 of file mo_ncwrite.f90.
subroutine mo_ncwrite::dump_netcdf::dump_netcdf_1d_i4 | ( | character(len = *), intent(in) | filename, |
integer(i4), dimension(:), intent(in) | arr, | ||
logical, intent(in), optional | append, | ||
logical, intent(in), optional | lfs, | ||
logical, intent(in), optional | netcdf4, | ||
integer(i4), intent(in), optional | deflate_level | ||
) |
Definition at line 2012 of file mo_ncwrite.f90.
subroutine mo_ncwrite::dump_netcdf::dump_netcdf_1d_sp | ( | character(len = *), intent(in) | filename, |
real(sp), dimension(:), intent(in) | arr, | ||
logical, intent(in), optional | append, | ||
logical, intent(in), optional | lfs, | ||
logical, intent(in), optional | netcdf4, | ||
integer(i4), intent(in), optional | deflate_level | ||
) |
Definition at line 517 of file mo_ncwrite.f90.
subroutine mo_ncwrite::dump_netcdf::dump_netcdf_2d_dp | ( | character(len = *), intent(in) | filename, |
real(dp), dimension(:, :), intent(in) | arr, | ||
logical, intent(in), optional | append, | ||
logical, intent(in), optional | lfs, | ||
logical, intent(in), optional | netcdf4, | ||
integer(i4), intent(in), optional | deflate_level | ||
) |
Definition at line 1414 of file mo_ncwrite.f90.
subroutine mo_ncwrite::dump_netcdf::dump_netcdf_2d_i4 | ( | character(len = *), intent(in) | filename, |
integer(i4), dimension(:, :), intent(in) | arr, | ||
logical, intent(in), optional | append, | ||
logical, intent(in), optional | lfs, | ||
logical, intent(in), optional | netcdf4, | ||
integer(i4), intent(in), optional | deflate_level | ||
) |
Definition at line 2162 of file mo_ncwrite.f90.
subroutine mo_ncwrite::dump_netcdf::dump_netcdf_2d_sp | ( | character(len = *), intent(in) | filename, |
real(sp), dimension(:, :), intent(in) | arr, | ||
logical, intent(in), optional | append, | ||
logical, intent(in), optional | lfs, | ||
logical, intent(in), optional | netcdf4, | ||
integer(i4), intent(in), optional | deflate_level | ||
) |
Definition at line 667 of file mo_ncwrite.f90.
subroutine mo_ncwrite::dump_netcdf::dump_netcdf_3d_dp | ( | character(len = *), intent(in) | filename, |
real(dp), dimension(:, :, :), intent(in) | arr, | ||
logical, intent(in), optional | append, | ||
logical, intent(in), optional | lfs, | ||
logical, intent(in), optional | netcdf4, | ||
integer(i4), intent(in), optional | deflate_level | ||
) |
Definition at line 1564 of file mo_ncwrite.f90.
subroutine mo_ncwrite::dump_netcdf::dump_netcdf_3d_i4 | ( | character(len = *), intent(in) | filename, |
integer(i4), dimension(:, :, :), intent(in) | arr, | ||
logical, intent(in), optional | append, | ||
logical, intent(in), optional | lfs, | ||
logical, intent(in), optional | netcdf4, | ||
integer(i4), intent(in), optional | deflate_level | ||
) |
Definition at line 2312 of file mo_ncwrite.f90.
subroutine mo_ncwrite::dump_netcdf::dump_netcdf_3d_sp | ( | character(len = *), intent(in) | filename, |
real(sp), dimension(:, :, :), intent(in) | arr, | ||
logical, intent(in), optional | append, | ||
logical, intent(in), optional | lfs, | ||
logical, intent(in), optional | netcdf4, | ||
integer(i4), intent(in), optional | deflate_level | ||
) |
Definition at line 817 of file mo_ncwrite.f90.
subroutine mo_ncwrite::dump_netcdf::dump_netcdf_4d_dp | ( | character(len = *), intent(in) | filename, |
real(dp), dimension(:, :, :, :), intent(in) | arr, | ||
logical, intent(in), optional | append, | ||
logical, intent(in), optional | lfs, | ||
logical, intent(in), optional | netcdf4, | ||
integer(i4), intent(in), optional | deflate_level | ||
) |
Definition at line 1714 of file mo_ncwrite.f90.
subroutine mo_ncwrite::dump_netcdf::dump_netcdf_4d_i4 | ( | character(len = *), intent(in) | filename, |
integer(i4), dimension(:, :, :, :), intent(in) | arr, | ||
logical, intent(in), optional | append, | ||
logical, intent(in), optional | lfs, | ||
logical, intent(in), optional | netcdf4, | ||
integer(i4), intent(in), optional | deflate_level | ||
) |
Definition at line 2461 of file mo_ncwrite.f90.
subroutine mo_ncwrite::dump_netcdf::dump_netcdf_4d_sp | ( | character(len = *), intent(in) | filename, |
real(sp), dimension(:, :, :, :), intent(in) | arr, | ||
logical, intent(in), optional | append, | ||
logical, intent(in), optional | lfs, | ||
logical, intent(in), optional | netcdf4, | ||
integer(i4), intent(in), optional | deflate_level | ||
) |
Definition at line 966 of file mo_ncwrite.f90.
subroutine mo_ncwrite::dump_netcdf::dump_netcdf_5d_dp | ( | character(len = *), intent(in) | filename, |
real(dp), dimension(:, :, :, :, :), intent(in) | arr, | ||
logical, intent(in), optional | append, | ||
logical, intent(in), optional | lfs, | ||
logical, intent(in), optional | netcdf4, | ||
integer(i4), intent(in), optional | deflate_level | ||
) |
Definition at line 1863 of file mo_ncwrite.f90.
subroutine mo_ncwrite::dump_netcdf::dump_netcdf_5d_i4 | ( | character(len = *), intent(in) | filename, |
integer(i4), dimension(:, :, :, :, :), intent(in) | arr, | ||
logical, intent(in), optional | append, | ||
logical, intent(in), optional | lfs, | ||
logical, intent(in), optional | netcdf4, | ||
integer(i4), intent(in), optional | deflate_level | ||
) |
Definition at line 2610 of file mo_ncwrite.f90.
subroutine mo_ncwrite::dump_netcdf::dump_netcdf_5d_sp | ( | character(len = *), intent(in) | filename, |
real(sp), dimension(:, :, :, :, :), intent(in) | arr, | ||
logical, intent(in), optional | append, | ||
logical, intent(in), optional | lfs, | ||
logical, intent(in), optional | netcdf4, | ||
integer(i4), intent(in), optional | deflate_level | ||
) |
Definition at line 1115 of file mo_ncwrite.f90.