GenericMappingTools / gmtserver-admin

Cache data and script for managing the GMT data server
GNU Lesser General Public License v3.0
7 stars 3 forks source link

Make sure rounded resolution has 2 digits #175

Closed PaulWessel closed 1 year ago

PaulWessel commented 1 year ago

When the original data set has an odd resolution like 52.074555234s we floor that to get 52. However, that code would turn 2.45666 into 2 but we need 02.

This PR set s the required format so that we get a 2-digit resolution value. With that it looks like the scripts and recipes works for the new candidates Moon, Mercury, Mars, Venus, and Pluto.