aburrell / apexpy

A Python wrapper for Apex coordinates
MIT License
34 stars 25 forks source link

Better tests for today's date #119

Closed aburrell closed 1 year ago

aburrell commented 1 year ago

Description

Fixes a remaining part of #115 by ensuring a valid apex conversion takes place for today's date.

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

import apexpy
import datetime as dt
import numpy as np

apex_out = apexpy.Apex(date=dt.datetime.utcnow(), refh=300)
np.isnan(apex_out.geo2apex(60, 15, 100)).any()

Results should be False

Test Configuration

Checklist