aviadlevis / pyshdom

A python wrapper for SHDOM and 3D retrieval of atmospheric properties
Other
6 stars 5 forks source link

Combine Grid Error #9

Open JRLoveridge opened 4 years ago

JRLoveridge commented 4 years ago

error when combining two z_coordinates when adding grids. If one grid is both larger and smaller in z coordinate than another grid then z_bottom will be duplicated resulting in a non-monotonic z coordinate.

A separate condition needs to be made for this case at Line 229 in init.py

if z_bot & z_top:

elif z_bot:

elif z_top: