Changeset 1031 for palm/trunk/SOURCE/close_file.f90
- Timestamp:
- Oct 19, 2012 2:35:30 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/close_file.f90
r965 r1031 4 4 ! Current revisions: 5 5 ! ----------------- 6 ! 6 ! netCDF4 without parallel file support implemented 7 7 ! 8 8 ! Former revisions: … … 189 189 190 190 IF ( netcdf_output .AND. & 191 ( myid == 0 .OR. netcdf_data_format > 2) ) THEN191 ( myid == 0 .OR. netcdf_data_format > 4 ) ) THEN 192 192 nc_stat = NF90_CLOSE( id_set_xy(0) ) 193 193 CALL handle_netcdf_error( 'close_file', 44 ) … … 197 197 198 198 IF ( netcdf_output .AND. & 199 ( myid == 0 .OR. netcdf_data_format > 2) ) THEN199 ( myid == 0 .OR. netcdf_data_format > 4 ) ) THEN 200 200 nc_stat = NF90_CLOSE( id_set_xz(0) ) 201 201 CALL handle_netcdf_error( 'close_file', 45 ) … … 205 205 206 206 IF ( netcdf_output .AND. & 207 ( myid == 0 .OR. netcdf_data_format > 2) ) THEN207 ( myid == 0 .OR. netcdf_data_format > 4 ) ) THEN 208 208 nc_stat = NF90_CLOSE( id_set_yz(0) ) 209 209 CALL handle_netcdf_error( 'close_file', 46 ) … … 227 227 228 228 IF ( netcdf_output .AND. & 229 ( myid == 0 .OR. netcdf_data_format > 2) ) THEN229 ( myid == 0 .OR. netcdf_data_format > 4 ) ) THEN 230 230 nc_stat = NF90_CLOSE( id_set_3d(0) ) 231 231 CALL handle_netcdf_error( 'close_file', 49 ) … … 256 256 257 257 IF ( netcdf_output .AND. & 258 ( myid == 0 .OR. netcdf_data_format > 2) ) THEN258 ( myid == 0 .OR. netcdf_data_format > 4 ) ) THEN 259 259 nc_stat = NF90_CLOSE( id_set_xy(1) ) 260 260 CALL handle_netcdf_error( 'close_file', 52 ) … … 264 264 265 265 IF ( netcdf_output .AND. & 266 ( myid == 0 .OR. netcdf_data_format > 2) ) THEN266 ( myid == 0 .OR. netcdf_data_format > 4 ) ) THEN 267 267 nc_stat = NF90_CLOSE( id_set_xz(1) ) 268 268 CALL handle_netcdf_error( 'close_file', 352 ) … … 272 272 273 273 IF ( netcdf_output .AND. & 274 ( myid == 0 .OR. netcdf_data_format > 2) ) THEN274 ( myid == 0 .OR. netcdf_data_format > 4 ) ) THEN 275 275 nc_stat = NF90_CLOSE( id_set_yz(1) ) 276 276 CALL handle_netcdf_error( 'close_file', 353 ) … … 280 280 281 281 IF ( netcdf_output .AND. & 282 ( myid == 0 .OR. netcdf_data_format > 2) ) THEN282 ( myid == 0 .OR. netcdf_data_format > 4 ) ) THEN 283 283 nc_stat = NF90_CLOSE( id_set_3d(1) ) 284 284 CALL handle_netcdf_error( 'close_file', 353 ) … … 288 288 289 289 IF ( netcdf_output .AND. & 290 ( myid == 0 .OR. netcdf_data_format > 2) ) THEN290 ( myid == 0 .OR. netcdf_data_format > 4 ) ) THEN 291 291 ! 292 292 !-- decompose fid into mid and av
Note: See TracChangeset
for help on using the changeset viewer.