Changeset 3003 for LMDZ5/trunk/libf/misc/wxios.F90
- Timestamp:
- Oct 3, 2017, 4:45:26 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/misc/wxios.F90
r2741 r3003 311 311 ! Pour déclarer un axe vertical !!!!!!!!!!!!!!! 312 312 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 313 SUBROUTINE wxios_add_vaxis(axis_id, axis_size, axis_value) 313 SUBROUTINE wxios_add_vaxis(axis_id, axis_size, axis_value, & 314 positif, bnds) 314 315 USE print_control_mod, ONLY : prt_level, lunout 315 316 IMPLICIT NONE … … 318 319 INTEGER, INTENT(IN) :: axis_size 319 320 REAL, DIMENSION(axis_size), INTENT(IN) :: axis_value 321 CHARACTER (len=*), INTENT(IN), OPTIONAL :: positif 322 REAL, DIMENSION(axis_size, 2), INTENT(IN), OPTIONAL :: bnds 320 323 321 324 ! TYPE(xios_axisgroup) :: axgroup … … 340 343 341 344 ! Ehouarn: New way to declare axis, without axis_group: 342 CALL xios_set_axis_attr(trim(axis_id),n_glo=axis_size,value=axis_value) 345 if (PRESENT(positif) .AND. PRESENT(bnds)) then 346 CALL xios_set_axis_attr(trim(axis_id),n_glo=axis_size,value=axis_value, & 347 positive=positif, bounds=bnds) 348 else if (PRESENT(positif)) then 349 CALL xios_set_axis_attr(trim(axis_id),n_glo=axis_size,value=axis_value, & 350 positive=positif) 351 else if (PRESENT(bnds)) then 352 CALL xios_set_axis_attr(trim(axis_id),n_glo=axis_size,value=axis_value, & 353 bounds=bnds) 354 else 355 CALL xios_set_axis_attr(trim(axis_id),n_glo=axis_size,value=axis_value) 356 endif 343 357 344 358 !Vérification:
Note: See TracChangeset
for help on using the changeset viewer.