Ignore:
Timestamp:
Feb 10, 2020 8:32:41 PM (4 years ago)
Author:
suehring
Message:

Revision of the virtual-measurement module: data input from NetCDF file; removed binary output - instead parallel NetCDF output using the new data-output module; variable attributes added; further variables added that can be sampled, file connections added; Functions for coordinate transformation moved to basic_constants_and_equations; netcdf_data_input_mod: unused routines netcdf_data_input_att and netcdf_data_input_var removed; new routines to inquire fill values added; Preprocessing script (palm_cvd) to setup virtual-measurement input files provided; postprocessor combine_virtual_measurements deleted

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/check_open.f90

    r4360 r4400  
    2525! -----------------
    2626! $Id$
     27! Remove binary output for virtual measurements
     28!
     29! 4360 2020-01-07 11:25:50Z suehring
    2730! Corrected "Former revisions" section
    2831!
     
    444447          ENDIF
    445448
    446        CASE ( 27 )
    447 !
    448 !--       Binary files for virtual measurement data
    449           IF ( myid_char == '' )  THEN
    450              OPEN ( 27, FILE='VIRTUAL_MEAS_BIN'//TRIM( coupling_char )//       &
    451                              myid_char, FORM='UNFORMATTED', POSITION='APPEND' )
    452           ELSE
    453 
    454              IF ( myid == 0  .AND. .NOT. openfile(file_id)%opened_before )  THEN
    455                 CALL local_system( 'mkdir  VIRTUAL_MEAS_BIN' //                &
    456                                    TRIM( coupling_char ) )
    457              ENDIF
    458 #if defined( __parallel )
    459 !
    460 !--          Set a barrier in order to allow that all other processors in the
    461 !--          directory created by PE0 can open their file
    462              CALL MPI_BARRIER( comm2d, ierr )
    463 #endif
    464              ioerr = 1
    465              DO WHILE ( ioerr /= 0 )
    466                 OPEN ( 27, FILE='VIRTUAL_MEAS_BIN'//TRIM(coupling_char)//      &
    467                                 '/'//myid_char,                                &
    468                            FORM='UNFORMATTED', IOSTAT=ioerr )
    469                 IF ( ioerr /= 0 )  THEN
    470                    WRITE( 9, * )  '*** could not open "VIRTUAL_MEAS_BIN'//     &
    471                                   TRIM(coupling_char)//'/'//myid_char//        &
    472                                   '"! Trying again in 1 sec.'
    473                    CALL fortran_sleep( 1 )
    474                 ENDIF
    475              ENDDO
    476 
    477           ENDIF
    478 
    479449       CASE ( 30 )
    480450
Note: See TracChangeset for help on using the changeset viewer.