Skip to content

Commit

Permalink
Merge pull request #43 from noaa-oar-arl/develop
Browse files Browse the repository at this point in the history
Fixed bug in rdfv3 and rdfv3_lam for nrows to ncols.
  • Loading branch information
drnimbusrain authored Dec 18, 2023
2 parents 9978703 + 3475afd commit 2df2487
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions parallel/src/mcipparm_mod.f90
Original file line number Diff line number Diff line change
Expand Up @@ -367,8 +367,8 @@ MODULE mcipparm
!-------------------------------------------------------------------------------

CHARACTER(LEN=16), PARAMETER :: progname_nacc = 'NACC'
CHARACTER(LEN=10), PARAMETER :: vdate_nacc = '06/01/2023'
CHARACTER(LEN=8), PARAMETER :: ver_nacc = 'V2.1.2'
CHARACTER(LEN=10), PARAMETER :: vdate_nacc = '12/17/2023'
CHARACTER(LEN=8), PARAMETER :: ver_nacc = 'V2.1.3'


real projparm(6) ! map projection type, lat1,lat2,projlon, center_lon, center_lat
Expand Down
4 changes: 2 additions & 2 deletions parallel/src/rdfv3.f90
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,7 @@ END SUBROUTINE windrotation
yoff = -2.0 ! V-face: no offset in Y from dot-point center value

DO j = 1, nrows_x+1
DO i = 1, nrows_x+1 ! use all X to fill array; last col outside domain
DO i = 1, ncols_x+1 ! use all X to fill array; last col outside domain

xxin = met_xxctr + (FLOAT(i) + xoff) * met_resoln
yyin = met_yyctr + (FLOAT(j) + yoff) * met_resoln
Expand Down Expand Up @@ -962,7 +962,7 @@ END SUBROUTINE windrotation
yoff = -2.0 ! V-face: no offset in Y from dot-point center value

DO j = 1, nrows_x+1
DO i = 1, nrows_x+1 ! use all X to fill array; last col outside domain
DO i = 1, ncols_x+1 ! use all X to fill array; last col outside domain

xxin = met_xxctr + (FLOAT(i) + xoff) * met_resoln
yyin = met_yyctr + (FLOAT(j) + yoff) * met_resoln
Expand Down
2 changes: 1 addition & 1 deletion parallel/src/rdfv3_lam.f90
Original file line number Diff line number Diff line change
Expand Up @@ -861,7 +861,7 @@ END SUBROUTINE windrotation
yoff = -2.0 ! V-face: no offset in Y from dot-point center value

DO j = 1, nrows_x+1
DO i = 1, nrows_x+1 ! use all X to fill array; last col outside domain
DO i = 1, ncols_x+1 ! use all X to fill array; last col outside domain

xxin = met_xxctr + (FLOAT(i) + xoff) * met_resoln
yyin = met_yyctr + (FLOAT(j) + yoff) * met_resoln
Expand Down
4 changes: 2 additions & 2 deletions serial/src/mcipparm_mod.f90
Original file line number Diff line number Diff line change
Expand Up @@ -367,8 +367,8 @@ MODULE mcipparm
!-------------------------------------------------------------------------------

CHARACTER(LEN=16), PARAMETER :: progname_nacc = 'NACC'
CHARACTER(LEN=10), PARAMETER :: vdate_nacc = '06/01/2023'
CHARACTER(LEN=8), PARAMETER :: ver_nacc = 'V2.1.2'
CHARACTER(LEN=10), PARAMETER :: vdate_nacc = '12/17/2023'
CHARACTER(LEN=8), PARAMETER :: ver_nacc = 'V2.1.3'


real projparm(6) ! map projection type, lat1,lat2,projlon, center_lon, center_lat
Expand Down
4 changes: 2 additions & 2 deletions serial/src/rdfv3.f90
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,7 @@ END SUBROUTINE windrotation
yoff = -2.0 ! V-face: no offset in Y from dot-point center value

DO j = 1, nrows_x+1
DO i = 1, nrows_x+1 ! use all X to fill array; last col outside domain
DO i = 1, ncols_x+1 ! use all X to fill array; last col outside domain

xxin = met_xxctr + (FLOAT(i) + xoff) * met_resoln
yyin = met_yyctr + (FLOAT(j) + yoff) * met_resoln
Expand Down Expand Up @@ -957,7 +957,7 @@ END SUBROUTINE windrotation
yoff = -2.0 ! V-face: no offset in Y from dot-point center value

DO j = 1, nrows_x+1
DO i = 1, nrows_x+1 ! use all X to fill array; last col outside domain
DO i = 1, ncols_x+1 ! use all X to fill array; last col outside domain

xxin = met_xxctr + (FLOAT(i) + xoff) * met_resoln
yyin = met_yyctr + (FLOAT(j) + yoff) * met_resoln
Expand Down
2 changes: 1 addition & 1 deletion serial/src/rdfv3_lam.f90
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,7 @@ END SUBROUTINE windrotation
yoff = -2.0 ! V-face: no offset in Y from dot-point center value

DO j = 1, nrows_x+1
DO i = 1, nrows_x+1 ! use all X to fill array; last col outside domain
DO i = 1, ncols_x+1 ! use all X to fill array; last col outside domain

xxin = met_xxctr + (FLOAT(i) + xoff) * met_resoln
yyin = met_yyctr + (FLOAT(j) + yoff) * met_resoln
Expand Down

0 comments on commit 2df2487

Please sign in to comment.