-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from sdss/curl
add curl as an access method
- Loading branch information
Showing
29 changed files
with
732 additions
and
231 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env python | ||
from sdss_access import Access, AccessError | ||
access = Access(label='mangamap',verbose=True) | ||
|
||
#works if you have the sdss username in your ~/.netrc (or you will be prompted) | ||
access.remote() | ||
#the alternative to setting the password in ~/.netrc is not recommended! | ||
#access.remote(username='sdss',password='***-******') | ||
|
||
access.add('drpall', drpver='v1_5_1') | ||
access.set_stream() | ||
access.commit() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/usr/bin/env python3 | ||
from sdss_access import Access, AccessError | ||
access = Access(label='mangacube_dr14',public=True,release='dr14',verbose=True) | ||
access.remote() | ||
access.add('mangacube', drpver='v2_1_2', plate=8485, ifu='19*') | ||
access.set_stream() | ||
|
||
access.commit() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/env python3 | ||
from sdss_access import Access, AccessError | ||
access = Access(label='mangacube_mpl7',verbose=True) | ||
|
||
#works if you have the sdss username in your ~/.netrc (or you will be prompted) | ||
access.remote() | ||
#the alternative to setting the password in ~/.netrc is not recommended! | ||
#access.remote(username='sdss',password='***-******') | ||
|
||
access.add('mangacube', drpver='v2_4_3', plate=8485, ifu='19*') | ||
access.set_stream() | ||
|
||
access.commit() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/env python | ||
from sdss_access import Access, AccessError | ||
access = Access(label='mangamap',verbose=True) | ||
|
||
#works if you have the sdss username in your ~/.netrc (or you will be prompted) | ||
access.remote() | ||
#the alternative to setting the password in ~/.netrc is not recommended! | ||
#access.remote(username='sdss',password='***-******') | ||
#mangamap = $MANGA_SPECTRO_ANALYSIS/{drpver}/{dapver}/full/{plate}/{ifu}/manga-{plate}-{ifu}-LOGCUBE_MAPS-{bintype}-{n:0>3}.fits.gz | ||
|
||
access.add('mangamap', drpver = 'v1_5_1', dapver='1.1.1', plate=8485, ifu=1901, bintype='NONE', n='*') | ||
access.set_stream() | ||
access.commit() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/env python | ||
from sdss_access import Access, AccessError | ||
access = Access(label='mangamaps',verbose=True) | ||
|
||
#works if you have the sdss username in your ~/.netrc (or you will be prompted) | ||
access.remote() | ||
#the alternative to setting the password in ~/.netrc is not recommended! | ||
#access.remote(username='sdss',password='***-******') | ||
|
||
access.add('mangadap5', drpver='v2_0_1', dapver='2.0.2', plate=8485, ifu=1901, mode='*', daptype='*') | ||
access.set_stream() | ||
|
||
access.commit() |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.