Skip to content

Commit

Permalink
Updated test tolerances
Browse files Browse the repository at this point in the history
  • Loading branch information
MicheleCeresoli committed Jan 3, 2024
1 parent bbdb675 commit 2d42f6e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions test/bpn.jl
Original file line number Diff line number Diff line change
Expand Up @@ -323,9 +323,9 @@ end;
NPB = iers_npb(iers2010b, tt_c)
@test v2as(NPBe*v, NPB*v) 2.5e-3

# CPNc model < 35 mas
# CPNc model < 40 mas
NPB = iers_npb(CPNc, tt_c)
@test v2as(NPBe*v, NPB*v) 35e-3
@test v2as(NPBe*v, NPB*v) 40e-3

# CPNd model < 1 mas
NPB = iers_npb(CPNd, tt_c)
Expand Down
6 changes: 3 additions & 3 deletions test/cio.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ v2as = (x, y) -> acosd(max(-1, min(1, dot(x / norm(x), y / norm(y))))) * 3600
v = rand(BigFloat, 3)
v /= norm(v)

# --- Testing IERS 1996 (< 0.1 mas)
# --- Testing IERS 1996 (< 0.5 mas)
x, y = cip_xy(iers1996, tt_c)
xe, ye = ERFA.bpn2xy(pnm80(DJ2000, tt_d))

@test r2a*abs(xe-x) 1e-4
@test r2a*abs(ye-y) 1e-4
@test r2a*abs(xe-x) 1.5e-4
@test r2a*abs(ye-y) 1.5e-4

# TODO: test on cio locator is missing

Expand Down

0 comments on commit 2d42f6e

Please sign in to comment.