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

Documenting workaround for git-lfs quota error when cloning. #11

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,21 @@ This fits parser only supports image data (not tables), and does not know anythi
For WCS parsing, see [wcsrs](https://github.com/cds-astro/wcs-rs).
This parser is able to parse extension HDUs. Ascii tables and binary tables are still not properly parsed, only the list bytes of their data block can be retrieved but no interpretation/parsing is done on it.

Cloning the Repositiory
-----------------------
Make sure that you have `git-lfs` installed. If you an error along the following lines:
> Downloading samples/fits.gsfc.nasa.gov/Astro_UIT.fits (865 KB)
Error downloading object: samples/fits.gsfc.nasa.gov/Astro_UIT.fits (3110c73): Smudge error: Error downloading samples/fits.gsfc.nasa.gov/Astro_UIT.fits (3110c73eebbdd479b9a51cb275f18650f17d22b818713562b6e27d873e128530): batch response: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access.

(cf. Issue #10)

... try the following:

```
GIT_LFS_SKIP_SMUDGE=1 git clone [email protected]:cds-astro/fitsrs.git
```
This clones the repository without the large binary files and still allows you to build locally but not to run the tests.

To Do list
----------

Expand Down Expand Up @@ -252,4 +267,4 @@ while let Ok(Some(mut xhdu)) = hdu_ext {

hdu_ext = xhdu.next().await;
}
```
```