Skip to content

Update the URL of the SOFA tarball - #16

Open
eerovaher wants to merge 1 commit into
liberfa:masterfrom
eerovaher:fix-sofa-url
Open

eerovaher wants to merge 1 commit into
liberfa:masterfrom
eerovaher:fix-sofa-url

Conversation

@eerovaher

Copy link
Copy Markdown

The https://www.iausofa.org/current_C.html page no longer exists. Changing the default value of the url parameter in _find_sofa_url_on_web_page() to https://www.iausofa.org/current-software or https://www.iausofa.org/2023-10-11c both lead to a ValueError. There is no guarantee that the SOFA webpages do not change in the future, so updating _find_sofa_url_on_web_page() is not worthwhile. The simplest solution is to replace its single invocation with the new URL of the SOFA tarball.

I have verified that with my patch I can almost recreate the ERFA source files. The differences are in the copyright statement:

< **  Copyright (C) 2013-2023, NumFOCUS Foundation.
---
> **  Copyright (C) 2013-2026, NumFOCUS Foundation.

which is to be expected. Other than that the generated t_erfa_c.c misses a closing bracket added in liberfa/erfa@cb0e813 and there are some differences in dat.c which seem to be related to leap seconds. The generated files do not include erfaversion.c, Makefile.am, meson.build and a few more files that all have "extra" in their name. None of those differences seem too surprising to me.

The https://www.iausofa.org/current_C.html page no longer exists.
Changing the default value of the `url` parameter in
`_find_sofa_url_on_web_page()` to
https://www.iausofa.org/current-software or
https://www.iausofa.org/2023-10-11c both lead to a `ValueError`. There
is no guarantee that the SOFA webpages do not change in the future, so
updating `_find_sofa_url_on_web_page()` is not worthwhile. The simplest
solution is to replace its single invocation with the new URL of the
SOFA tarball.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant