Skip to content
Snippets Groups Projects
Commit 5e1119ba authored by tomrink's avatar tomrink
Browse files

snapshot...

parent 23eb40f9
No related branches found
No related tags found
No related merge requests found
import numpy as np
import datetime
from metpy.units import units
from metpy.calc import thickness_hydrostatic
from collections import namedtuple
......@@ -11,6 +12,11 @@ class GenericException(Exception):
self.message = message
def get_time_tuple_utc(timestamp):
dt_obj = datetime.datetime.fromtimestamp(timestamp, timezone.utc)
return dt_obj, dt_obj.timetuple()
def haversine_np(lon1, lat1, lon2, lat2):
"""
Calculate the great circle distance between two points
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment