Skip to content

Commit

Permalink
slightly change value for meter-degree conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
kbarnhart committed Nov 9, 2023
1 parent 30ae1b3 commit 321acac
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/python/visclaw/frametools.py
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,11 @@ def plotitem2(framesoln, plotitem, current_data, stateno):
elif pp['plot_type'] == '2d_hillshade':
if not var_all_masked:
if pp['hillshade_latlon']:
xcoord2meters = 1/111139
xcoord2meters = 1/111200

# could eventually adjust dx
# based on np.cos(np.radians(latitude))

else:
xcoord2meters = 1

Expand Down

0 comments on commit 321acac

Please sign in to comment.