Changeset 3535
- Timestamp:
- Jun 13, 2019, 10:33:32 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/trunk/libf/phylmd/create_etat0_unstruct.F90
r3466 r3535 18 18 ! for coupling activate ocean fraction reading from file "ocean_fraction.nc" 19 19 IF (is_omp_master) THEN 20 IF(NF90_OPEN("ocean_fraction.nc", NF90_NOWRITE, file_id)==NF90_NOERR) THEN 20 21 IF (NF90_OPEN("ocean_fraction.nc", NF90_NOWRITE, file_id)==NF90_NOERR) THEN 21 22 CALL xios_set_file_attr("frac_ocean",enabled=.TRUE.) 22 23 CALL xios_set_field_attr("mask",field_ref="frac_ocean_read") 23 24 iret=NF90_CLOSE(file_id) 25 ELSE IF (NF90_OPEN("land_water_0.05.nc", NF90_NOWRITE, file_id)==NF90_NOERR) THEN 26 CALL xios_set_file_attr("land_water",name="land_water_0.05",enabled=.TRUE.) 27 CALL xios_set_field_attr("mask",field_ref="land_water") 28 iret=NF90_CLOSE(file_id) 29 ELSE IF (NF90_OPEN("land_water_0.25.nc", NF90_NOWRITE, file_id)==NF90_NOERR) THEN 30 CALL xios_set_file_attr("land_water",name="land_water_0.25",enabled=.TRUE.) 31 CALL xios_set_field_attr("mask",field_ref="land_water") 32 iret=NF90_CLOSE(file_id) 33 ELSE IF (NF90_OPEN("land_water_0.50.nc", NF90_NOWRITE, file_id)==NF90_NOERR) THEN 34 CALL xios_set_file_attr("land_water",name="land_water_0.50",enabled=.TRUE.) 35 CALL xios_set_field_attr("mask",field_ref="land_water") 36 iret=NF90_CLOSE(file_id) 24 37 ENDIF 38 25 39 ENDIF 26 40
Note: See TracChangeset
for help on using the changeset viewer.