Skip to content

IERS B not always loaded into IERS_Auto #9205

Closed

Description

@aarchiba

The IERS B data is not loaded into the IERS_Auto object if new IERS A data is not available, even though the IERS B file is present.

This is demonstrated in PR #9204 .

Activity

  1. aarchiba commented on Sep 6, 2019

    @aarchiba
    ContributorAuthor

    In fact what happens is that the IERS_Auto just serves up an unmodified IERS B file as if it were an IERS A file. This means all the A columns are missing (naturally enough), all the B columns are missing (which is awkward and unnecessary), and all the unmarked columns are taken straight from the IERS B table. The units of dX... and dY... are different in IERS B than IERS A (arcseconds versus milliarcseconds) but this is probably not a serious problem as long as people never take the .value without a .to() first. (The code in iers.py used to do this, so it's a realistic concern.) The IERS B table also has PM_X instead of PM_x as a column name.

    The right answer is probably to construct a fake IERS A object from just the IERS B. Though really, the current interface doesn't provide you a way to get a plain IERS A table (that, is without some IERS B data substituted in). Perhaps a class providing a merge of whatever data is available? Perhaps that also provides auto-updating as needed? I notice that the IERS B data is never automatically updated even in IERS_Auto.

  2. pllim commented on Sep 6, 2019

    @pllim
    Member
  3. added a commit that references this issue on Sep 9, 2019
    1cc408e
  4. added a commit that references this issue on Sep 17, 2019
    bb02bb5
  5. ayshih commented on Mar 12, 2024

    @ayshih
    Contributor

    I think this particular issue is largely moot now that both IERS-A and IERS-B are bundled via astropy-iers-data (#14819). There are still lingering questions about merging in IERS-B data (e.g., #9227 and #13494), but they are probably better discussed in those issues.

  6. mhvk commented on Mar 12, 2024

    @mhvk
    Contributor

    I agree that this is moot given astropy-iers-data - let's close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions