ESMG / gridtools

A collection of grid generation tools.
Other
18 stars 15 forks source link

[Bug]: Grid center latitude does not support southern hemisphere #16

Closed jr3cermak closed 2 years ago

jr3cermak commented 3 years ago

Contact Details

rob.cermak@gmail.com

What happened?

See forum post: https://bb.cgd.ucar.edu/cesm/threads/regional-mom6-first-steps.6369/post-41809

How to replicate?

Grid center Y does not support negative latitude representing southern latitudes.

Relevant log or error output

# Impacts main branch

#https://github.com/ESMG/gridtools/blob/main/gridtools/app.py
# Suggested initial change: start=0.0 to start=-90.0

# TODO: Unknown if this fix will work with generic projection definitions
# within the library

def initializeWidgets(self):

        # Widgets

        self.gridCenterY = pn.widgets.Spinner(name='Grid Center(Latitude or Y)', value=40.0, step=0.1, start=0.0, end=90.0, width=100)

global attributes

n/a