Skip to content

Instantly share code, notes, and snippets.

@weralwolf
Last active April 28, 2018 13:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save weralwolf/8e9a69b4d7d99fc1abb90a70c4a37ce3 to your computer and use it in GitHub Desktop.
Save weralwolf/8e9a69b4d7d99fc1abb90a70c4a37ce3 to your computer and use it in GitHub Desktop.
Dynamics Explorer 2 data. Docker image weralwolf/de2-data
FROM alpine:latest
# Download datafiles
ENV FTP_NASA_SERVER="spdf.gsfc.nasa.gov" \
PATH_NACS="/pub/data/de/de2/neutral_gas_nacs/n_T_1s_ascii/data" \
PATH_WATS="/pub/data/de/de2/neutral_gas_wats/n_T_v_2s_ascii"
RUN apk update && \
apk add wget && \
mkdir -p /data/nacs /data/wats
RUN cd /data/nacs && \
wget -nv --no-remove-listing ftp://${FTP_NASA_SERVER}${PATH_NACS}/*.ASC
RUN cd /data/wats && \
wget -nv --no-remove-listing ftp://${FTP_NASA_SERVER}${PATH_WATS}/*.asc
ENV DE2SOURCE_NACS_DIR="/data/nacs" \
DE2SOURCE_WATS_DIR="/data/wats"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment