Skip to content

Commit

Permalink
removing not used file
Browse files Browse the repository at this point in the history
  • Loading branch information
K20shores committed Jul 31, 2023
1 parent 679817b commit 9badced
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,6 @@ RUN ./xmlchange STOP_N=5
# Copy in the grid files and a snapshot file
RUN chmod +x /home/cam_sima_user/CAM-SIMA/docker/ftp_download.sh
RUN /home/cam_sima_user/CAM-SIMA/docker/ftp_download.sh
# now move the mam3 grid
RUN mkdir -p /home/cam_sima_user/cesm_data/inputdata/atm/cam/inic/homme/
RUN cp /home/cam_sima_user/cami-mam3_0000-01_ne5np4_L30.140707.nc /home/cam_sima_user/cesm_data/inputdata/atm/cam/inic/homme/

# # add the snapshot file
RUN echo "ncdata='/home/cam_sima_user/run_heldsuarez_cam6_nt2_bigg_try005.cam.h5.0001-01-01-00000.nc'" >> user_nl_cam
Expand Down
2 changes: 0 additions & 2 deletions docker/ftp_download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ FTP_PASS="[email protected]"

FILES_TO_DOWNLOAD=(
"/testdata/run_heldsuarez_cam6_nt2_bigg_try005.cam.h5.0001-01-01-00000.nc"
"/testdata/cami-mam3_0000-01_ne5np4_L30.140707.nc"
)

# Download the file using FTP
Expand All @@ -16,6 +15,5 @@ user $FTP_USER $FTP_PASS
binary
cd $(dirname ${FILES_TO_DOWNLOAD[0]})
get $(basename ${FILES_TO_DOWNLOAD[0]}) /home/cam_sima_user/$(basename ${FILES_TO_DOWNLOAD[0]})
get $(basename ${FILES_TO_DOWNLOAD[1]}) /home/cam_sima_user/$(basename ${FILES_TO_DOWNLOAD[1]})
bye
EOF

0 comments on commit 9badced

Please sign in to comment.