|
Download README.md from RGES-PIT/Beginner: direct link, hf CLI and curl.
- Browser
- Download file 2.24 kB
-
https://huggingface.co/datasets/RGES-PIT/Beginner/resolve/main/README.md
- Command line
-
hf download hf://datasets/RGES-PIT/Beginner/README.md
-
curl -L -o README.md https://huggingface.co/datasets/RGES-PIT/Beginner/resolve/main/README.md
2.24 kB
| license: cc0-1.0 | |
| # Beginner | |
| The beginner tier data can be found in **RMDC26\_Beginner\_Tier.parquet**. If read in properly, it should have a shape of 9,230,048 rows x 14 columns and contain lightcurves for 188 unique events. The columns are as follows. | |
| 1. **name** - The event name. These should go from RMDC26\_000001 to RMDC26\_000188. | |
| 2. **l\_deg** - The galactic longitude of the event in degrees. | |
| 3. **b\_deg** - The galactic latitude of the event in degrees. | |
| 4. **ra\_deg** - The right ascension of the event in degrees. | |
| 5. **dec\_deg** - The declination of the event in degrees. | |
| 6. **bjd** - The time in BJD. | |
| 7. **filt** - The filter being used in the given observation. | |
| 8. **mag** - The observed magnitude in the given filter. | |
| 9. **mag_err** - The magnitude error in the given filter. | |
| 10. **extinction** - The target's estimated extinction, $A_{filt}$, in the given filter. | |
| 11. **obs_x** - The observer position x-component in AU (Cartesian-ecliptic reference frame). | |
| 12. **obs_y** - The observer position y-component in AU (Cartesian-ecliptic reference frame). | |
| 13. **obs_z** - The observer position z-component in AU (Cartesian-ecliptic reference frame). | |
| 14. **saturation_flag** - Whether the target is saturated in the given observation (0 for no, 1 for yes). | |
| ## Uploading | |
| CLI: | |
| ``` | |
| # Install the Hugging Face CLI | |
| brew install huggingface-cli | |
| # Login with your Hugging Face credentials | |
| hf auth login | |
| # Push your dataset files | |
| hf upload RGES-PIT/Beginner . --repo-type=dataset | |
| ``` | |
| Python: | |
| ``` | |
| from huggingface_hub import HfApi | |
| api = HfApi(token=os.getenv("HF_TOKEN")) | |
| api.upload_folder( | |
| folder_path="/path/to/local/dataset", | |
| repo_id="RGES-PIT/Beginner", | |
| repo_type="dataset", | |
| ) | |
| ``` | |
| HTTPS: | |
| ``` | |
| # Make sure git-lfs is installed (https://git-lfs.com) | |
| git lfs install | |
| git remote add origin https://huggingface.co/datasets/RGES-PIT/Beginner | |
| # You'll be prompted for your HF credentials | |
| git push -u origin main | |
| ``` | |
| SSH: | |
| ``` | |
| # Make sure git-lfs is installed (https://git-lfs.com) | |
| git lfs install | |
| git remote add origin git@hf.co:datasets/RGES-PIT/Beginner | |
| # Make sure SSH key is set in your user settings (https://huggingface.co/settings/keys) | |
| git push -u origin main | |
| ``` | |