Changeset 1972 for palm/trunk/SOURCE/write_3d_binary.f90
- Timestamp:
- Jul 26, 2016 7:52:02 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/write_3d_binary.f90
r1960 r1972 19 19 ! Current revisions: 20 20 ! ----------------- 21 ! 21 ! Land surface actions are now done directly in the respective module 22 22 ! 23 23 ! Former revisions: … … 113 113 USE indices, & 114 114 ONLY: nxl, nxr, nys, nyn, nzb, nzt 115 116 USE land_surface_model_mod, &117 ONLY: c_liq_av, c_soil_av, c_veg_av, ghf_eb_av, lai_av, &118 qsws_eb_av, qsws_liq_eb_av, qsws_soil_eb_av, qsws_veg_eb_av, &119 land_surface, m_liq_eb, m_liq_eb_av, m_soil, m_soil_av, &120 nzb_soil, nzt_soil, shf_eb_av, t_soil, t_soil_av121 115 122 116 USE particle_attributes, & … … 152 146 ! 153 147 !-- Write arrays. 154 binary_version = '4. 3'148 binary_version = '4.4' 155 149 156 150 WRITE ( 14 ) binary_version … … 164 158 !-- adjusted accordingly. 165 159 166 167 IF ( land_surface ) THEN168 IF ( ALLOCATED( c_liq_av ) ) THEN169 WRITE ( 14 ) 'c_liq_av '; WRITE ( 14 ) c_liq_av170 ENDIF171 IF ( ALLOCATED( c_soil_av ) ) THEN172 WRITE ( 14 ) 'c_soil_av '; WRITE ( 14 ) c_soil_av173 ENDIF174 IF ( ALLOCATED( c_veg_av ) ) THEN175 WRITE ( 14 ) 'c_veg_av '; WRITE ( 14 ) c_veg_av176 ENDIF177 ENDIF178 160 WRITE ( 14 ) 'e '; WRITE ( 14 ) e 179 161 IF ( ALLOCATED( e_av ) ) THEN … … 181 163 ENDIF 182 164 WRITE ( 14 ) 'iran '; WRITE ( 14 ) iran, iran_part 183 IF ( land_surface ) THEN184 IF ( ALLOCATED( ghf_eb_av ) ) THEN185 WRITE ( 14 ) 'ghf_eb_av '; WRITE ( 14 ) ghf_eb_av186 ENDIF187 ENDIF188 165 WRITE ( 14 ) 'kh '; WRITE ( 14 ) kh 189 166 WRITE ( 14 ) 'km '; WRITE ( 14 ) km 190 IF ( land_surface ) THEN191 IF ( ALLOCATED( lai_av ) ) THEN192 WRITE ( 14 ) 'lai_av '; WRITE ( 14 ) lai_av193 ENDIF194 ENDIF195 167 IF ( ALLOCATED( lpt_av ) ) THEN 196 168 WRITE ( 14 ) 'lpt_av '; WRITE ( 14 ) lpt_av … … 198 170 IF ( ALLOCATED( lwp_av ) ) THEN 199 171 WRITE ( 14 ) 'lwp_av '; WRITE ( 14 ) lwp_av 200 ENDIF201 IF ( land_surface ) THEN202 WRITE ( 14 ) 'm_liq_eb '; WRITE ( 14 ) m_liq_eb203 IF ( ALLOCATED( m_liq_eb_av ) ) THEN204 WRITE ( 14 ) 'm_liq_eb_av '; WRITE ( 14 ) m_liq_eb_av205 ENDIF206 WRITE ( 14 ) 'm_soil '; WRITE ( 14 ) m_soil207 IF ( ALLOCATED( m_soil_av ) ) THEN208 WRITE ( 14 ) 'm_soil_av '; WRITE ( 14 ) m_soil_av209 ENDIF210 172 ENDIF 211 173 WRITE ( 14 ) 'ol '; WRITE ( 14 ) ol … … 289 251 WRITE ( 14 ) 'sswst '; WRITE ( 14 ) sswst 290 252 ENDIF 291 IF ( land_surface ) THEN292 IF ( ALLOCATED( qsws_eb_av ) ) THEN293 WRITE ( 14 ) 'qsws_eb_av '; WRITE ( 14 ) qsws_eb_av294 ENDIF295 IF ( ALLOCATED( qsws_liq_eb_av ) ) THEN296 WRITE ( 14 ) 'qsws_liq_eb_av '; WRITE ( 14 ) qsws_liq_eb_av297 ENDIF298 IF ( ALLOCATED( qsws_soil_eb_av ) ) THEN299 WRITE ( 14 ) 'qsws_soil_eb_av '; WRITE ( 14 ) qsws_soil_eb_av300 ENDIF301 IF ( ALLOCATED( qsws_veg_eb_av ) ) THEN302 WRITE ( 14 ) 'qsws_veg_eb_av '; WRITE ( 14 ) qsws_veg_eb_av303 ENDIF304 ENDIF305 253 IF ( ALLOCATED( rad_net ) ) THEN 306 254 WRITE ( 14 ) 'rad_net '; WRITE ( 14 ) rad_net … … 374 322 WRITE ( 14 ) 'saswst '; WRITE ( 14 ) saswst 375 323 ENDIF 376 IF ( land_surface ) THEN377 WRITE ( 14 ) 't_soil '; WRITE ( 14 ) t_soil378 IF ( ALLOCATED( t_soil_av ) ) THEN379 WRITE ( 14 ) 't_soil_av '; WRITE ( 14 ) t_soil_av380 ENDIF381 ENDIF382 324 IF ( ALLOCATED( ql_c_av ) ) THEN 383 325 WRITE ( 14 ) 'ql_c_av '; WRITE ( 14 ) ql_c_av … … 408 350 WRITE ( 14 ) 'shf_av '; WRITE ( 14 ) shf_av 409 351 ENDIF 410 IF ( land_surface ) THEN411 IF ( ALLOCATED( shf_eb_av ) ) THEN412 WRITE ( 14 ) 'shf_eb_av '; WRITE ( 14 ) shf_eb_av413 ENDIF414 ENDIF415 352 IF ( ALLOCATED( spectrum_x ) ) THEN 416 353 WRITE ( 14 ) 'spectrum_x '; WRITE ( 14 ) spectrum_x
Note: See TracChangeset
for help on using the changeset viewer.