Skip to content

BUG - Epoch time should be TDT instead of TDB #1292

@subagonsouth

Description

@subagonsouth

Description of the issue

Currently, the met_to_j2000ns function is being used to compute values stored in CDF files with the CDF datatype CDF_TIME_TT2000. The implementation of met_to_j2000ns provides TDB nanoseconds but CDF_TIME_TT2000 is Terrestrial Time nanoseconds.

This ticket needs to fix that bug and add a function for converting TT nanoseconds to floating point TDB seconds (ET) for use with SPICE.

Steps to reproduce the issue

No response

Expected behavior (What should happen)

No response

Actual behavior (What does happen)

No response

Code Snippet:

Additional notes, affected areas, and suggested fixes

No response

Metadata

Metadata

Assignees

Labels

SPICERelated to SPICEbugSomething isn't working

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions