Changeset 2907 for trunk/LMDZ.MARS/libf/phymars/iostart.F90
- Timestamp:
- Feb 28, 2023, 2:39:58 PM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/iostart.F90
r2896 r2907 692 692 ierr=NF90_REDEF(nid_restart) 693 693 #ifdef NC_DOUBLE 694 if(field_name.eq. "tauscaling" .or. field_name.eq. "totcloudfrac" .or. field_name.eq. "wstar" ) then 694 695 ierr=NF90_DEF_VAR(nid_restart,field_name,NF90_DOUBLE,& 695 696 (/idim2,idim7/),nvarid) 696 #else 697 else 698 ierr=NF90_DEF_VAR(nid_restart,field_name,NF90_DOUBLE,& 699 (/idim2,idim8,idim7/),nvarid) 700 endif 701 #else 702 if(field_name.eq. "tauscaling" .or. field_name.eq. "totcloudfrac" .or. field_name.eq. "wstar" ) then 697 703 ierr=NF90_DEF_VAR(nid_restart,field_name,NF90_FLOAT,& 698 704 (/idim2,idim7/),nvarid) 705 else 706 ierr=NF90_DEF_VAR(nid_restart,field_name,NF90_DOUBLE,& 707 (/idim2,idim8,idim7/),nvarid) 708 endif 699 709 #endif 700 710 if (ierr.ne.NF90_NOERR) then
Note: See TracChangeset
for help on using the changeset viewer.