Changeset 2577 for trunk/LMDZ.MARS/util/solzenangle.F90
- Timestamp:
- Oct 27, 2021, 11:41:34 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/util/solzenangle.F90
r2567 r2577 583 583 584 584 do it=1,nsol 585 ierr= NF_PUT_VARA_REAL(nout,timevarout,(/it/),(/1/), intsol(it)*24.)585 ierr= NF_PUT_VARA_REAL(nout,timevarout,(/it/),(/1/),[intsol(it)*24.]) 586 586 enddo 587 587 else … … 683 683 684 684 ierr = NF_GET_VAR_REAL(nid,varid,var3d) 685 miss=NF_GET_ATT_REAL(nid,varid,"missing_value", missing)685 miss=NF_GET_ATT_REAL(nid,varid,"missing_value",[missing]) 686 686 validr=NF_GET_ATT_REAL(nid,varid,"valid_range",valid_range) 687 687 … … 1032 1032 ierr = NF_REDEF (nout) 1033 1033 1034 ierr = NF_DEF_VAR (nout,"altitude",NF_FLOAT,1, altdimout,nvarid)1034 ierr = NF_DEF_VAR (nout,"altitude",NF_FLOAT,1,[altdimout],nvarid) 1035 1035 1036 1036 ierr = NF_PUT_ATT_TEXT (nout,nvarid,'long_name',len_trim(adjustl(altlong_name)),adjustl(altlong_name)) … … 1056 1056 ierr = NF_REDEF (nout) 1057 1057 1058 ierr = NF_DEF_VAR (nout,"controle",NF_FLOAT,1, ctldimout,nvarid)1058 ierr = NF_DEF_VAR (nout,"controle",NF_FLOAT,1,[ctldimout],nvarid) 1059 1059 1060 1060 ierr = NF_PUT_ATT_TEXT (nout,nvarid,"long_name",18,"Control parameters") … … 1362 1362 ! Write "missing_value" attribute 1363 1363 if (miss.eq.NF_NOERR) then 1364 ierr= NF_PUT_ATT_REAL(nout,nvarid,'missing_value',NF_FLOAT,1, missing)1364 ierr= NF_PUT_ATT_REAL(nout,nvarid,'missing_value',NF_FLOAT,1,[missing]) 1365 1365 1366 1366 if (ierr.NE.NF_NOERR) then
Note: See TracChangeset
for help on using the changeset viewer.