Skip to content

Commit

Permalink
Merge pull request #28 from noaa-oar-arl/develop
Browse files Browse the repository at this point in the history
Updated for large domain case and neg interpolated landuse
  • Loading branch information
drnimbusrain authored Jul 12, 2022
2 parents 9d628e6 + 7bc87a8 commit 69270f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions parallel/src/rdfv3.f90
Original file line number Diff line number Diff line change
Expand Up @@ -1362,6 +1362,7 @@ END SUBROUTINE windrotation
ENDIF
call myinterp(dum2d,met_nx,met_ny,atmp,xindex,yindex,ncols_x,nrows_x,1)
landuse(1:ncols_x,1:nrows_x) = atmp(1:ncols_x,1:nrows_x)
where(landuse.lt.0) landuse=0.0 !case of larger domains with fv3 water type/edge
WRITE (*,f6100) 'vtype ', landuse(lprt_metx, lprt_mety), 'category'
ELSE
WRITE (*,f9400) TRIM(pname), 'vtype', TRIM(nf90_strerror(rcode))
Expand Down
1 change: 1 addition & 0 deletions serial/src/rdfv3.f90
Original file line number Diff line number Diff line change
Expand Up @@ -1347,6 +1347,7 @@ END SUBROUTINE windrotation
ENDIF
call myinterp(dum2d,met_nx,met_ny,atmp,xindex,yindex,ncols_x,nrows_x,1)
landuse(1:ncols_x,1:nrows_x) = atmp(1:ncols_x,1:nrows_x)
where(landuse.lt.0) landuse=0.0 !case of larger domains with fv3 water type/edge
WRITE (*,f6100) 'vtype ', landuse(lprt_metx, lprt_mety), 'category'
ELSE
WRITE (*,f9400) TRIM(pname), 'vtype', TRIM(nf90_strerror(rcode))
Expand Down

0 comments on commit 69270f2

Please sign in to comment.