Changeset 1031 for palm/trunk/SOURCE/check_parameters.f90
- Timestamp:
- Oct 19, 2012 2:35:30 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/check_parameters.f90
r1020 r1031 4 4 ! Current revisions: 5 5 ! ----------------- 6 ! 6 ! check of netcdf4 parallel file support 7 7 ! 8 8 ! Former revisions: … … 2847 2847 2848 2848 ENDDO 2849 ENDIF 2850 2851 ! 2852 !-- Set output format string (used in header) 2853 IF ( netcdf_output ) THEN 2854 2855 SELECT CASE ( netcdf_data_format ) 2856 CASE ( 1 ) 2857 output_format_netcdf = 'netCDF classic' 2858 CASE ( 2 ) 2859 output_format_netcdf = 'netCDF 64bit offset' 2860 CASE ( 3 ) 2861 output_format_netcdf = 'netCDF4/HDF5' 2862 CASE ( 4 ) 2863 output_format_netcdf = 'netCDF4/HDF5 classic' 2864 CASE ( 5 ) 2865 output_format_netcdf = 'parallel netCDF4/HDF5' 2866 CASE ( 6 ) 2867 output_format_netcdf = 'parallel netCDF4/HDF5 classic' 2868 2869 END SELECT 2849 2870 2850 2871 ENDIF … … 2882 2903 !-- Check the NetCDF data format 2883 2904 #if ! defined ( __check ) 2884 IF ( netcdf_data_format > 2 ) THEN2905 IF ( netcdf_data_format > 2 .AND. netcdf_data_format < 5 ) THEN 2885 2906 #if defined( __netcdf4 ) 2886 2907 CONTINUE 2887 2908 #else 2888 message_string = ' NetCDF: NetCDF4 format requested but no ' // &2909 message_string = 'netCDF: netCDF4 format requested but no ' // & 2889 2910 'cpp-directive __netcdf4 given & switch ' // & 2890 2911 'back to 64-bit offset format' … … 2893 2914 #endif 2894 2915 ENDIF 2916 IF ( netcdf_data_format > 4 ) THEN 2917 #if defined( __netcdf4 ) && defined( __netcdf4_parallel ) 2918 CONTINUE 2919 #else 2920 message_string = 'netCDF: netCDF4 parallel output requested but no ' // & 2921 'cpp-directive __netcdf4_parallel given & switch ' // & 2922 'back to netCDF4 non-parallel output' 2923 CALL message( 'check_parameters', 'PA0099', 0, 1, 0, 6, 0 ) 2924 netcdf_data_format = netcdf_data_format - 2 2895 2925 #endif 2896 ! 2926 ENDIF 2927 #endif 2897 2928 2898 2929 #if ! defined( __check ) 2930 ! 2899 2931 !-- Check netcdf precison 2900 2932 ldum = .FALSE.
Note: See TracChangeset
for help on using the changeset viewer.