Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GRACE-FO data not downloading: no suitable SP3 provider #3

Open
CharlesPlusC opened this issue Sep 13, 2023 · 0 comments
Open

GRACE-FO data not downloading: no suitable SP3 provider #3

CharlesPlusC opened this issue Sep 13, 2023 · 0 comments

Comments

@CharlesPlusC
Copy link

CharlesPlusC commented Sep 13, 2023

Hello!

I've been utilizing your code and recently attempted to retrieve SP3 data for GRACE-FO (A/B), but encountered an error.

My cddis credentials are set up as follows(I am able to login to the cddis portal with these):

sp3.cddis.username = configUsr
sp3.cddis.password = configPwd

I defined the satellite PRN as:

# Define the satellite ID
satellite_id = sp3.Sp3Id("L64") #GRACE-FO A

Subsequently, when trying to fetch positions, I get an error:

obstime = astropy.time.Time(
    np.arange(
        astropy.time.Time("2023-04-16T00:00:00Z").jd,
        astropy.time.Time("2023-04-18T08:00:00Z").jd,
        3 / 1440
    ),
    format="jd"
)

positions = sp3.itrs(
    id=satellite_id,
    obstime=obstime,
    download_directory="DataFetch/sp3_cache"
)

I sourced the PRN number from the cddis webste. Interestingly, it works for nearly every other satellite I've tried except this particular one.

Below is the error message I'm encountering:

Traceback (most recent call last):
  File "/Users/Documents/GitHub/DataFetch/FetchSp3.py", line 34, in <module>
    positions = sp3.itrs(
                ^^^^^^^^^
  File "/Users/anaconda3/envs/env/lib/python3.11/site-packages/sp3/__init__.py", line 356, in itrs
    records=load(
            ^^^^^
  File "/Users/anaconda3/envs/env/lib/python3.11/site-packages/sp3/__init__.py", line 334, in load
    raise Exception(f'no suitable SP3 provider for "{sp3_id.decode()}"')
Exception: no suitable SP3 provider for "L64"

Am I missing something? Are they just not available for GRACE somehow?
Thanks in advance for any assistance!

Best regards,
Charles

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

No branches or pull requests

1 participant