Changeset 5b5589b in flex_extract.git for Source/Fortran/rwgrib2.f90


Ignore:
Timestamp:
Aug 21, 2019, 8:11:08 PM (5 years ago)
Author:
pesei <petra seibert -@…>
Branches:
master, ctbto, dev
Children:
7e59510, e0005c9
Parents:
dfa7dbd
git-author:
pesei <petra seibert -@…> (08/21/19 20:06:51)
git-committer:
pesei <petra seibert -@…> (08/21/19 20:11:08)
Message:

Update automated Fortran documentation

and move everything to the right place.
Replace tabs with blanks in two source files (so that FORD works!)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Source/Fortran/rwgrib2.f90

    rdfa7dbd r5b5589b  
    131131     do i=1,LLEN
    132132       if (MLEVELIST(i:i) .eq. '/') THEN
    133                 l=l+1
    134                 MLINDEX(l)=i
    135               end if
    136             end do
    137             MLINDEX(l+1)=LLEN+1
    138             do i=1,l
    139               read(MLEVELIST(MLINDEX(i)+1:MLINDEX(i+1)-1),*) ILEVEL(i)
    140             end do
     133         l=l+1
     134         MLINDEX(l)=i
     135       end if
     136     end do
     137     MLINDEX(l+1)=LLEN+1
     138     do i=1,l
     139       read(MLEVELIST(MLINDEX(i)+1:MLINDEX(i+1)-1),*) ILEVEL(i)
     140     end do
    141141   end if
    142142
     
    153153!           call grib_set(igrib,"units","s**-1")
    154154!         end if
    155               if (l .ne. mlevel) then
     155       if (l .ne. mlevel) then
    156156         zsec4(1:maxl*maxb)=RESHAPE(FELD(:,:,ILEVEL(k)),(/maxl*maxb/))
    157               else
    158                 zsec4(1:maxl*maxb)=RESHAPE(FELD(:,:,k),(/maxl*maxb/))
    159               end if
     157       else
     158         zsec4(1:maxl*maxb)=RESHAPE(FELD(:,:,k),(/maxl*maxb/))
     159       end if
    160160       call grib_set(igrib,"values",zsec4)
    161161
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG