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

measuresdata requests some data again and again #537

Closed
olebole opened this issue Nov 18, 2016 · 9 comments
Closed

measuresdata requests some data again and again #537

olebole opened this issue Nov 18, 2016 · 9 comments
Labels

Comments

@olebole
Copy link
Contributor

olebole commented Nov 18, 2016

When trying to retrieve data for JPL, measuresdata requests the file download again and again endlessly:

oles@donar:/tmp/measuresdata$ ./measuresdata-update type=DE200 
Calling measuresdata type=DE200
 
Create data tables for Measures
-----------------------------------------------
measuresdata: Version 20110502wnb
The requested type is: DE200
The processed type[s]: DE200
The requested DE table range is 1960-2036
The data table directory: /tmp/measuresdata
Check and request mode only
No forced refresh asked
No explicit renew asked
Testing DE200
measuresdata ended normally
Getting ftp://ssd.jpl.nasa.gov/pub/eph/planets/ascii/de200/ascp1960.200
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 5079k  100 5079k    0     0   507k      0  0:00:10  0:00:10 --:--:--  983k
Calling measuresdata in=ascp1960.200 refresh=n renew=n type=DE200 derange=1960,2036 x__n=0 x__fn=y x__rep=n x__val=
 
Create data tables for Measures
-----------------------------------------------
measuresdata: Version 20110502wnb
The requested type is: DE200
The processed type[s]: DE200
The requested DE table range is 1960-2036
The data table directory: /tmp/measuresdata
The input data file: /tmp/measuresdata/ascp1960.200
No forced refresh asked
No explicit renew asked
Processing DE200
ephemerides/DE200 table 0001.0001 now 229 entries until 44208
ephemerides/DE200 table 0001.0001 has 229 entries until 44208
measuresdata ended normally
Warning: measuresdata requests the same url twice: ftp://ssd.jpl.nasa.gov/pub/eph/planets/ascii/de200/ascp1960.200
Getting ftp://ssd.jpl.nasa.gov/pub/eph/planets/ascii/de200/ascp1960.200
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 5079k  100 5079k    0     0   506k      0  0:00:10  0:00:10 --:--:--  984k
Calling measuresdata in=ascp1960.200 refresh=n renew=n type=DE200 derange=1960,2036 x__n=0 x__fn=y x__rep=y x__val=

and then it repeats endlessly retrieving ascp1960.200. Similarly for DE405 - also the download of the first file (ascp1960.405) is endlessly repeated.
This happens with the new measuresdata-update script as well as with the old csh script. The tool had a similar behaviour with the IERSeop97 and IERSeop2000 tables, which was at that time fixed by 4de47df.

I need this to create the Debian packages for JPL.

@olebole
Copy link
Contributor Author

olebole commented Feb 23, 2018

ping
Does anyone have an idea where this problem comes from? I'd like to package the JPL data for Debian, and for this I would need to re-create them from the sources.

@dpetry
Copy link
Contributor

dpetry commented Feb 23, 2018

Yes, I believe this is a very old issue. As far as I understand Tammo wanted to look into this. But nobody has time ...

@gijzelaerr
Copy link
Member

@olebole is this issue sovled with your replaced script merged a while ago? #465

@olebole
Copy link
Contributor Author

olebole commented Oct 31, 2018

Unfortunately not. It still prevents me from creating the JPL data package. Pinging @tammojan, since he was mentioned as volunteer ;-)

@sabourke
Copy link
Contributor

sabourke commented Nov 6, 2018

I'm looking into this. The code to get the JPL data is missing/half-baked. Hopefully I'll have something soon.

@gijzelaerr
Copy link
Member

@sabourke that would be perfect, thanks

@sabourke
Copy link
Contributor

fixed by #803

@gijzelaerr
Copy link
Member

This seems to be resolved, thanks @sabourke

@olebole
Copy link
Contributor Author

olebole commented May 21, 2019

Oh yes, it works now; I even uploaded a JPL data package to Debian. I just forgot to mention this here...
@sabourke - thank you very much for the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants