Changeset 1031 for palm/trunk/SOURCE/data_output_3d.f90
- Timestamp:
- Oct 19, 2012 2:35:30 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/data_output_3d.f90
r1008 r1031 4 4 ! Current revisions: 5 5 ! ----------------- 6 ! 6 ! netCDF4 without parallel file support implemented 7 7 ! 8 8 ! Former revisions: … … 45 45 ! 46 46 ! 493 2010-03-01 08:30:24Z raasch 47 ! NetCDF4 support (parallel output)47 ! netCDF4 support (parallel output) 48 48 ! 49 49 ! 355 2009-07-17 01:03:01Z letzel 50 ! simulated_time in NetCDF output replaced by time_since_reference_point.51 ! Output of NetCDF messages with aid of message handling routine.50 ! simulated_time in netCDF output replaced by time_since_reference_point. 51 ! Output of netCDF messages with aid of message handling routine. 52 52 ! Output of messages replaced by message handling routine. 53 53 ! Bugfix: to_be_resorted => s_av for time-averaged scalars … … 75 75 ! Description: 76 76 ! ------------ 77 ! Output of the 3D-arrays in NetCDF and/or AVS format.77 ! Output of the 3D-arrays in netCDF and/or AVS format. 78 78 !------------------------------------------------------------------------------! 79 79 … … 113 113 !-- Open output file. 114 114 !-- Also creates coordinate and fld-file for AVS. 115 !-- For classic or 64bit NetCDF output or output of other (old) data formats,115 !-- For classic or 64bit netCDF output or output of other (old) data formats, 116 116 !-- for a run on more than one PE, each PE opens its own file and 117 117 !-- writes the data of its subdomain in binary format (regardless of the format … … 119 119 !-- file by combine_plot_fields in the format requested by the user (netcdf 120 120 !-- and/or avs). 121 !-- For NetCDF4/HDF5 output, data is written in parallel into one file.121 !-- For netCDF4/HDF5 output, data is written in parallel into one file. 122 122 IF ( netcdf_output ) THEN 123 IF ( netcdf_data_format < 3) THEN123 IF ( netcdf_data_format < 5 ) THEN 124 124 CALL check_open( 30 ) 125 125 IF ( myid == 0 ) CALL check_open( 106+av*10 ) … … 136 136 137 137 ! 138 !-- Update the NetCDF time axis138 !-- Update the netCDF time axis 139 139 #if defined( __netcdf ) 140 IF ( myid == 0 .OR. netcdf_data_format > 2) THEN140 IF ( myid == 0 .OR. netcdf_data_format > 4 ) THEN 141 141 do3d_time_count(av) = do3d_time_count(av) + 1 142 142 IF ( netcdf_output ) THEN … … 456 456 #if defined( __parallel ) 457 457 IF ( netcdf_output ) THEN 458 IF ( netcdf_data_format < 3) THEN459 ! 460 !-- Classic or 64bit format. Data is output in parallel in FORTRAN461 !-- binary format here, and later collected into one file by458 IF ( netcdf_data_format < 5 ) THEN 459 ! 460 !-- Non-parallel netCDF output. Data is output in parallel in 461 !-- FORTRAN binary format here, and later collected into one file by 462 462 !-- combine_plot_fields 463 463 IF ( myid == 0 ) THEN … … 478 478 #if defined( __netcdf ) 479 479 ! 480 !-- Output in NetCDF4/HDF5 format.480 !-- Parallel output in netCDF4/HDF5 format. 481 481 !-- Do not output redundant ghost point data except for the 482 482 !-- boundaries of the total domain.
Note: See TracChangeset
for help on using the changeset viewer.