Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add capacity of detecting scaning mode north2south vs south2north in … #52

Merged
merged 1 commit into from
Jan 17, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions sorc/ncep_post.fd/grib2_module.f
Original file line number Diff line number Diff line change
Expand Up @@ -1394,6 +1394,11 @@ subroutine getgds(ldfgrd,len3,ifield3len,igds,ifield3)
ifield3(16) = lonlast
ifield3(17) = NINT(360./(IM)*1000000.)
ifield3(18) = NINT(JM/2.0)
if( latstart < latlast ) then
ifield3(19) = 64 !for SN scan
else
ifield3(19) = 0 !for NS scan
endif
!
!** Latlon grid
ELSE IF(MAPTYPE == 0 ) THEN
Expand Down