tsutterley / gravity-toolkit

Python tools for obtaining and working with data from the GRACE and GRACE Follow-On missions
https://gravity-toolkit.readthedocs.io
MIT License
33 stars 21 forks source link

Some problems with data loading #144

Open EvgenieLebedev opened 7 months ago

EvgenieLebedev commented 7 months ago

Hello! I tried to stock up on demo examples, but didn't get far: !podaac_cumulus.py --catalog=$widgets.the base directory Do I understand correctly that this script is not working at the moment?

The link at the end:Tracking (last last call): File "/usr/local/bin/podaac_cumulus.py ", line 444, in main() File "/usr/local/bin/podaac_cumulus.py ", line 436, in the main podaac_cumulus(client, args.directory, PROC=args.center, file "/usr/local/bin/podaac_cumulus.py ", line 135, in podaac_cumulus url, = [url for the url in urls if R1.search(url)] ValueError error: not enough values to decompress (1 expected, 0 received) INFO: root:Grace Date Program: CSR RL06 GAC Backtracking (last call): File "/usr/local/bin/run_grace_date.py ", line 165, in main() File "/usr/local/bin/run_grace_date.py ", line 160, in the main file run_grace_date(args.directory, args.center, args.release, file "/usr/local/bin/run_grace_date.py ", line 112, in the run_grace_date file gravtk.grace_date(base index, PROC=p, DREL=r, DSET=d, File "/usr/local/lib/python3.10/dist-packages/gravity_toolkit/grace_date.py ", line 165, in grace_date causes the FileNotFoundError error(f'{str(index_file)} not found") FileNotFoundError error: /content/CSR/RL06/GAC/index.txt not found

tsutterley commented 7 months ago

hey @EvgenieLebedev, looks like this is due to trying to access the s3 endpoints from a non-AWS location. I'm adding in #145 a widget to set the endpoint (defaults now to data instead of s3). Hopefully this fixes your problem.

EvgenieLebedev commented 7 months ago

Thanks a lot!