Skip to content

Commit

Permalink
move lat/lon to grid cell center
Browse files Browse the repository at this point in the history
  • Loading branch information
amfox37 committed Mar 17, 2024
1 parent 9aa8ec7 commit 409cd2c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ program ascat_mask_maker
allocate(lon(int(360.0 / d_lon)))
allocate(lat(int(180.0 / d_lat)))

lon = [(ll_lon + i * d_lon, i = 0, size(lon) - 1)]
lat = [(ll_lat + i * d_lat, i = 0, size(lat) - 1)]
lon = [((ll_lon + (d_lon / 2)) + i * d_lon, i = 0, size(lon) - 1)]
lat = [((ll_lat + (d_lat / 2)) + i * d_lat, i = 0, size(lat) - 1)]

allocate(mask_out(size(lon), size(lat)))

Expand Down

1 comment on commit 409cd2c

@gmao-rreichle
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@amfox37: If we switch the lat/lon here to refer to the grid-cell center location, don't we have to change the ASCAT reader as well? Right now, we're still stuck with the new release and would have a last-second opportunity to add another PR to develop, but I don't know just how much time there might be.

Please sign in to comment.