Skip to content

Commit

Permalink
Added info about new specs added by BJ fulton to README file.
Browse files Browse the repository at this point in the history
  • Loading branch information
nespinoza committed Jan 19, 2018
1 parent 692341e commit 0177a16
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,23 @@ To use the code is simple:

will download all the data from 2016-04-01 to the current day.

3. Optional: you can also add the proposal IDs in command line. To fetch data from proposals
MyProp-001 and MyProp-002, for example, you can do:
3. **Optional**: you can also add the proposal IDs in command line using the `-proposalID` flag.
To fetch data from proposals MyProp-001 and MyProp-002, for example, you can do:

python download_data.py -sdate 2016-04-01 -proposalID "MyProp-001,MyProp-002"

Note this will override the userdata.dat proposals, in order to preserve back-compatibility.

4. Optional: you can also add the data folder in which the data will be stored. If you want to
store the data of proposal MyProp-001 in "/home/myuser/myLCOGTdata", just do:
4. **Optional**: you can also add the data folder in which the data will be stored with the `-datafolder`
flag. If you want to store the data of proposal MyProp-001 in "/home/myuser/myLCOGTdata", just do:

python download_data.py -sdate 2016-04-01 -proposalID "MyProp-001" --datafolder "/home/myuser/myLCOGTdata"

Note this will override the datafolder in userdata.dat, in order to preserve back-compatibility.

5. **Optional** (addition by BJ Fulton): you can use a flat directory structure instead of sorting into date
subdirectories using the `-flatdir` flag. Also, if you only want to download NRES spectral packages,
use the `-spectra` flag.

Note that the code checks if a given frame is already downloaded. If it is on the system, then
the frame is not downloaded.

0 comments on commit 0177a16

Please sign in to comment.