From 0177a16c1f8fb8ac8d38971d30ee357806e63767 Mon Sep 17 00:00:00 2001 From: Nestor Espinoza Date: Fri, 19 Jan 2018 16:30:43 +0100 Subject: [PATCH] Added info about new specs added by BJ fulton to README file. --- README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e108795..b901804 100644 --- a/README.md +++ b/README.md @@ -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.