Ignore:
Timestamp:
Apr 16, 2009 4:10:51 PM (15 years ago)
Author:
letzel
Message:
  • Typographical errors (netcdf)
  • If the inversion height calculated by the prerun is zero, inflow_damping_height must be explicitly specified (init_3d_model)
  • Small bugfix concerning 3d 64bit netcdf output format (header)
  • Adjustments for lcsgib and lcsgih (subjob)
File:
1 edited

Legend:

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

    r288 r292  
    1111! Output of NetCDF messages with aid of message handling routine.
    1212! Output of messages replaced by message handling routine.
     13! Typographical errors fixed.
    1314!
    1415!
     
    181182
    182183!
    183 !-- Select the mode to be processed. Possibilities are xy, xz, yz, pr and ts.
     184!-- Select the mode to be processed. Possibilities are 3d, xy, xz, yz,
     185!-- pr and ts.
    184186    SELECT CASE ( mode )
    185187
     
    563565          IF ( TRIM( var_list ) /= TRIM( var_list_old ) )  THEN
    564566             message_string = 'NetCDF file for volume data ' //             & 
    565                               TRIM( var ) // ' from previuos run found,' // &
     567                              TRIM( var ) // ' from previous run found,' // &
    566568                              '&but this file cannot be extended due to' // &
    567569                              ' variable mismatch.' //                      &
     
    588590          IF ( nz_do3d-nzb+1 /= nz_old )  THEN
    589591              message_string = 'NetCDF file for volume data ' //             &
    590                                TRIM( var ) // ' from previuos run found,' // &
     592                               TRIM( var ) // ' from previous run found,' // &
    591593                               '&but this file cannot be extended due to' // &
    592594                               ' mismatch in number of' //                   &
     
    624626          IF ( last_time_coordinate(1) >= simulated_time )  THEN
    625627             message_string = 'NetCDF file for volume data ' // &
    626                               TRIM( var ) // ' from previuos run found,' // &
     628                              TRIM( var ) // ' from previous run found,' // &
    627629                              '&but this file cannot be extended becaus' // &
    628630                              'e the current output time' //                &
     
    648650
    649651!
    650 !--       Change the titel attribute on file
     652!--       Change the title attribute on file
    651653          nc_stat = NF90_PUT_ATT( id_set_3d(av), NF90_GLOBAL, 'title', &
    652654                                  TRIM( run_description_header ) )
     
    11391141          IF ( TRIM( var_list ) /= TRIM( var_list_old ) )  THEN
    11401142             message_string = 'NetCDF file for cross-sections ' //           &
    1141                               TRIM( var ) // ' from previuos run found,' //  &
     1143                              TRIM( var ) // ' from previous run found,' //  &
    11421144                              '& but this file cannot be extended due to' // &
    11431145                              ' variable mismatch.' //                       &
     
    11721174          IF ( ns /= ns_old )  THEN
    11731175             message_string = 'NetCDF file for cross-sections ' //          &
    1174                               TRIM( var ) // ' from previuos run found,' // &
     1176                              TRIM( var ) // ' from previous run found,' // &
    11751177                              '&but this file cannot be extended due to' // &
    11761178                              ' mismatch in number of' //                   &
     
    11931195                IF ( zu(section(i,1)) /= netcdf_data(i) )  THEN
    11941196                   message_string = 'NetCDF file for cross-sections ' //     &
    1195                                TRIM( var ) // ' from previuos run found,' // &
     1197                               TRIM( var ) // ' from previous run found,' // &
    11961198                               '&but this file cannot be extended' //        &
    11971199                               ' due to mismatch in cross' //                &
     
    12061208                IF ( -1.0 /= netcdf_data(i) )  THEN
    12071209                   message_string = 'NetCDF file for cross-sections ' //     &
    1208                                TRIM( var ) // ' from previuos run found,' // &
     1210                               TRIM( var ) // ' from previous run found,' // &
    12091211                               '&but this file cannot be extended' //        &
    12101212                               ' due to mismatch in cross' //                &
     
    12461248          IF ( last_time_coordinate(1) >= simulated_time )  THEN
    12471249             message_string = 'NetCDF file for cross sections ' //          &
    1248                               TRIM( var ) // ' from previuos run found,' // &
     1250                              TRIM( var ) // ' from previous run found,' // &
    12491251                              '&but this file cannot be extended becaus' // &
    12501252                              'e the current output time' //                &
     
    12741276
    12751277!
    1276 !--       Change the titel attribute on file
     1278!--       Change the title attribute on file
    12771279          nc_stat = NF90_PUT_ATT( id_set_xy(av), NF90_GLOBAL, 'title', &
    12781280                                  TRIM( run_description_header ) )
     
    16611663          IF ( TRIM( var_list ) /= TRIM( var_list_old ) )  THEN
    16621664             message_string = 'NetCDF file for cross-sections ' //           &
    1663                               TRIM( var ) // ' from previuos run found,' //  &
     1665                              TRIM( var ) // ' from previous run found,' //  &
    16641666                              '& but this file cannot be extended due to' // &
    16651667                              ' variable mismatch.' //                       &
     
    16941696          IF ( ns /= ns_old )  THEN
    16951697             message_string = 'NetCDF file for cross-sections ' //          &
    1696                               TRIM( var ) // ' from previuos run found,' // &
     1698                              TRIM( var ) // ' from previous run found,' // &
    16971699                              '&but this file cannot be extended due to' // &
    16981700                              ' mismatch in number of' //                   &
     
    17151717                IF ( ( section(i,2) * dy ) /= netcdf_data(i) )  THEN
    17161718                   message_string = 'NetCDF file for cross-sections ' //     &
    1717                                TRIM( var ) // ' from previuos run found,' // &
     1719                               TRIM( var ) // ' from previous run found,' // &
    17181720                               '&but this file cannot be extended' //        &
    17191721                               ' due to mismatch in cross' //                &
     
    17281730                IF ( -1.0 /= netcdf_data(i) )  THEN
    17291731                   message_string = 'NetCDF file for cross-sections ' //     &
    1730                                TRIM( var ) // ' from previuos run found,' // &
     1732                               TRIM( var ) // ' from previous run found,' // &
    17311733                               '&but this file cannot be extended' //        &
    17321734                               ' due to mismatch in cross' //                &
     
    17681770          IF ( last_time_coordinate(1) >= simulated_time )  THEN
    17691771             message_string = 'NetCDF file for cross sections ' //          &
    1770                               TRIM( var ) // ' from previuos run found,' // &
     1772                              TRIM( var ) // ' from previous run found,' // &
    17711773                              '&but this file cannot be extended becaus' // &
    17721774                              'e the current output time' //                &
     
    17961798
    17971799!
    1798 !--       Change the titel attribute on file
     1800!--       Change the title attribute on file
    17991801          nc_stat = NF90_PUT_ATT( id_set_xz(av), NF90_GLOBAL, 'title', &
    18001802                                  TRIM( run_description_header ) )
     
    21812183          IF ( TRIM( var_list ) /= TRIM( var_list_old ) )  THEN
    21822184             message_string = 'NetCDF file for cross-sections ' //           &
    2183                               TRIM( var ) // ' from previuos run found,' //  &
     2185                              TRIM( var ) // ' from previous run found,' //  &
    21842186                              '& but this file cannot be extended due to' // &
    21852187                              ' variable mismatch.' //                       &
     
    22142216          IF ( ns /= ns_old )  THEN
    22152217             message_string = 'NetCDF file for cross-sections ' //          &
    2216                               TRIM( var ) // ' from previuos run found,' // &
     2218                              TRIM( var ) // ' from previous run found,' // &
    22172219                              '&but this file cannot be extended due to' // &
    22182220                              ' mismatch in number of' //                   &
     
    22352237                IF ( ( section(i,3) * dx ) /= netcdf_data(i) )  THEN
    22362238                   message_string = 'NetCDF file for cross-sections ' //    &
    2237                               TRIM( var ) // ' from previuos run found,' // &
     2239                              TRIM( var ) // ' from previous run found,' // &
    22382240                              '&but this file cannot be extended' //        &
    22392241                              ' due to mismatch in cross' //                &
     
    22482250                IF ( -1.0 /= netcdf_data(i) )  THEN
    22492251                   message_string = 'NetCDF file for cross-sections ' //    &
    2250                               TRIM( var ) // ' from previuos run found,' // &
     2252                              TRIM( var ) // ' from previous run found,' // &
    22512253                              '&but this file cannot be extended' //        &
    22522254                              ' due to mismatch in cross' //                &
     
    22882290          IF ( last_time_coordinate(1) >= simulated_time )  THEN
    22892291             message_string = 'NetCDF file for cross sections ' //          &
    2290                               TRIM( var ) // ' from previuos run found,' // &
     2292                              TRIM( var ) // ' from previous run found,' // &
    22912293                              '&but this file cannot be extended becaus' // &
    22922294                              'e the current output time' //                &
     
    23162318
    23172319!
    2318 !--       Change the titel attribute on file
     2320!--       Change the title attribute on file
    23192321          nc_stat = NF90_PUT_ATT( id_set_yz(av), NF90_GLOBAL, 'title', &
    23202322                                  TRIM( run_description_header ) )
     
    25282530          IF ( TRIM( var_list ) /= TRIM( var_list_old ) )  THEN
    25292531             message_string = 'NetCDF file for vertical profiles ' //        &
    2530                               'from previuos run found,' //                  &
     2532                              'from previous run found,' //                  &
    25312533                              '& but this file cannot be extended due to' // &
    25322534                              ' variable mismatch.' //                       &
     
    25622564          IF ( last_time_coordinate(1) >= simulated_time )  THEN
    25632565             message_string = 'NetCDF file for vertical profiles ' //       &
    2564                               'from previuos run found,' //                 &
     2566                              'from previous run found,' //                 &
    25652567                              '&but this file cannot be extended becaus' // &
    25662568                              'e the current output time' //                &
     
    27432745          IF ( TRIM( var_list ) /= TRIM( var_list_old ) )  THEN
    27442746             message_string = 'NetCDF file for time series ' //              &
    2745                               'from previuos run found,' //                  &
     2747                              'from previous run found,' //                  &
    27462748                              '& but this file cannot be extended due to' // &
    27472749                              ' variable mismatch.' //                       &
     
    27772779          IF ( last_time_coordinate(1) >= simulated_time )  THEN
    27782780             message_string = 'NetCDF file for time series ' //             &
    2779                               'from previuos run found,' //                 &
     2781                              'from previous run found,' //                 &
    27802782                              '&but this file cannot be extended becaus' // &
    27812783                              'e the current output time' //                &
     
    30993101          IF ( TRIM( var_list ) /= TRIM( var_list_old ) )  THEN
    31003102             message_string = 'NetCDF file for spectra  ' //                 &
    3101                               'from previuos run found,' //                  &
     3103                              'from previous run found,' //                  &
    31023104                              '& but this file cannot be extended due to' // &
    31033105                              ' variable mismatch.' //                       &
     
    31333135          IF ( ns /= ns_old )  THEN
    31343136             message_string = 'NetCDF file for spectra ' //                 &
    3135                               ' from previuos run found,' //                &
     3137                              ' from previous run found,' //                &
    31363138                              '&but this file cannot be extended due to' // &
    31373139                              ' mismatch in number of' //                   &
     
    31533155             IF ( zu(comp_spectra_level(i)) /= netcdf_data(i) )  THEN
    31543156                message_string = 'NetCDF file for spectra ' //                 &
    3155                                  ' from previuos run found,' //                &
     3157                                 ' from previous run found,' //                &
    31563158                                 '&but this file cannot be extended due to' // &
    31573159                                 ' mismatch in heights of' //                  &
     
    31913193          IF ( last_time_coordinate(1) >= simulated_time )  THEN
    31923194             message_string = 'NetCDF file for spectra ' //                 &
    3193                               'from previuos run found,' //                 &
     3195                              'from previous run found,' //                 &
    31943196                              '&but this file cannot be extended becaus' // &
    31953197                              'e the current output time' //                &
     
    32283230
    32293231!
    3230 !--       Change the titel attribute on file
     3232!--       Change the title attribute on file
    32313233          IF ( averaging_interval_sp /= 0.0 )  THEN
    32323234             WRITE (time_average_text,'('', '',F7.1,'' s average'')') &
     
    33503352          IF ( last_time_coordinate(1) >= simulated_time )  THEN
    33513353             message_string = 'NetCDF file for particles ' //               &
    3352                               'from previuos run found,' //                 &
     3354                              'from previous run found,' //                 &
    33533355                              '&but this file cannot be extended becaus' // &
    33543356                              'e the current output time' //                &
     
    35083510          IF ( TRIM( var_list ) /= TRIM( var_list_old ) )  THEN
    35093511             message_string = 'NetCDF file for particle time series ' //     &
    3510                               'from previuos run found,' //                  &
     3512                              'from previous run found,' //                  &
    35113513                              '& but this file cannot be extended due to' // &
    35123514                              ' variable mismatch.' //                       &
     
    35423544          IF ( last_time_coordinate(1) >= simulated_time )  THEN
    35433545             message_string = 'NetCDF file for particle time series ' //    &
    3544                               'from previuos run found,' //                 &
     3546                              'from previous run found,' //                 &
    35453547                              '&but this file cannot be extended becaus' // &
    35463548                              'e the current output time' //                &
Note: See TracChangeset for help on using the changeset viewer.