Changeset 3473 for palm/trunk/SOURCE/salsa_mod.f90
- Timestamp:
- Oct 30, 2018 8:50:15 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/salsa_mod.f90
r3467 r3473 25 25 ! ----------------- 26 26 ! $Id$ 27 ! NetCDF input routine renamed 28 ! 29 ! 3467 2018-10-30 19:05:21Z suehring 27 30 ! Initial revision 28 31 ! … … 54 57 !> @todo Revise masked data output. There is a potential bug in case of 55 58 !> terrain-following masked output, according to data_output_mask. 59 !> @todo There are now improved interfaces for NetCDF data input which can be 60 !> used instead of get variable etc. 56 61 !------------------------------------------------------------------------------! 57 62 MODULE salsa_mod … … 1404 1409 1405 1410 USE netcdf_data_input_mod, & 1406 ONLY: get_attribute, get_dimension_length, get_variable, open_read_file 1411 ONLY: get_attribute, netcdf_data_input_get_dimension_length, & 1412 get_variable, open_read_file 1407 1413 1408 1414 IMPLICIT NONE … … 1468 1474 ! 1469 1475 !-- Input heights 1470 CALL get_dimension_length( id_faero, nz_file, "profile_z" )1476 CALL netcdf_data_input_get_dimension_length( id_faero, nz_file, "profile_z" ) 1471 1477 1472 1478 ALLOCATE( pr_z(nz_file), pr_mass_fracs_a(maxspec,nz_file), & … … 1609 1615 ! 1610 1616 !-- Input heights 1611 CALL get_dimension_length( id_fchem, nz_file, "profile_z" )1617 CALL netcdf_data_input_get_dimension_length( id_fchem, nz_file, "profile_z" ) 1612 1618 ALLOCATE( pr_z(nz_file), pr_gas(ngast,nz_file) ) 1613 1619 CALL get_variable( id_fchem, 'profile_z', pr_z ) … … 7853 7859 7854 7860 USE netcdf_data_input_mod, & 7855 ONLY: get_attribute, get_dimension_length, get_variable, open_read_file 7861 ONLY: get_attribute, netcdf_data_input_get_dimension_length, & 7862 get_variable, open_read_file 7856 7863 7857 7864 USE surface_mod, & … … 7960 7967 ! 7961 7968 !-- Index of gaseous compounds 7962 CALL get_dimension_length( id_fchem, ng_file, "nspecies" )7969 CALL netcdf_data_input_get_dimension_length( id_fchem, ng_file, "nspecies" ) 7963 7970 IF ( ng_file < 5 ) THEN 7964 7971 message_string = 'Some gaseous emissions missing.' … … 7968 7975 ! 7969 7976 !-- Get number of emission categories 7970 CALL get_dimension_length( id_fchem, ncat, "ncat" )7977 CALL netcdf_data_input_get_dimension_length( id_fchem, ncat, "ncat" ) 7971 7978 ! 7972 7979 !-- Inquire the unit of gaseous fluxes … … 8020 8027 ! 8021 8028 !-- Get number of emission categories and their indices 8022 CALL get_dimension_length( id_faero, ncat, "ncat" )8029 CALL netcdf_data_input_get_dimension_length( id_faero, ncat, "ncat" ) 8023 8030 ! 8024 8031 !-- Get emission category indices … … 8072 8079 ! 8073 8080 !-- Aerosol geometric mean diameter 8074 CALL get_dimension_length( id_faero, nb_file, 'Dmid' )8081 CALL netcdf_data_input_get_dimension_length( id_faero, nb_file, 'Dmid' ) 8075 8082 IF ( nb_file /= nbins ) THEN 8076 8083 message_string = 'The number of size bins in aerosol input data '// & … … 8175 8182 ! 8176 8183 !-- Emission time step 8177 CALL get_dimension_length( id_faero, n_dt, 'dt_emission' )8184 CALL netcdf_data_input_get_dimension_length( id_faero, n_dt, 'dt_emission' ) 8178 8185 IF ( n_dt > 1 ) THEN 8179 8186 CALL location_message( ' salsa_set_source: hourly emission data'//& … … 8193 8200 ! 8194 8201 !-- Get dimension of z-axis: 8195 CALL get_dimension_length( id_faero, nz_file, 'z' )8202 CALL netcdf_data_input_get_dimension_length( id_faero, nz_file, 'z' ) 8196 8203 ! 8197 8204 !-- Read surface emission data (x,y) PE-wise
Note: See TracChangeset
for help on using the changeset viewer.