Due to a shift in policy, from 0900 GMT on Wednesday 14th July 2021, we will be disabling ssh access to the server for external users. External users who wish to continue to access code repositories on the server will need to switch to using https. This can be accomplished in the following way: 1) On the repo on gitlab, use the clone dialogue and select ‘Clone with HTTPS’ to get the address of the repo; 2) From within the checkout of your repo run: $ git remote set-url origin HTTPS_ADDRESS. Here, replace HTTPS_ADDRESS with the address you have just copied from GitLab. Pulls and pushes will now require you to enter a username and password rather than using a ssh key. If you would prefer not to enter a password each time, you might consider caching your login credentials.

Commit fcedc265 authored by Modellers Operational's avatar Modellers Operational

Bug fixes to WRF archive retrieval

parent 8c42ca8a
......@@ -26,8 +26,8 @@ d_comp=0
until [ "$d_comp" = "$END_DAY" ]
d=$(date -d "$START_DAY + $n days" +${WRF_ARCHIVE_DATEFMT})
d_comp=$(date -d "$START_DAY + $n days" +%Y-%m-%d)
cp /pml${WRF_ARCHIVE_DIR}/*${d}*/wrfout_d03_* raw_wrf_file_${n}.nc
......@@ -6,8 +6,6 @@
module purge
module load nco
set -eu
files=($(\ls raw_wrf_file*))
# Now convert to FVCOM forcing files. These files have all had their first
......@@ -18,12 +16,12 @@ files=($(\ls raw_wrf_file*))
for this_file in "${files[@]}"; do
echo ${this_file}
./wrf_to_fvcom_ceto -i ${this_file} -o wnd_file_${n}.nc -latitude 55.0
wrf_to_fvcom_ceto -i ${this_file} -o wnd_file_${n}.nc -latitude 55.0
ncrcat -O -h wnd_file_${n}.nc wnd_file_trim_${n}.nc
rm ${this_file}
rm wnd_file_${n}.nc
ncrcat -O -h $(\ls -1 wnd_file_trim*.nc | sort -u) wnd_file.nc
default = bash ./get_wrf_files.sh ${START_DAY} ${END_DAY} ${WRF_ARCHIVE_DATEFMT} ${WRF_ARCHIVE_DIR} ${ROSE_DATAC}; bash ./merge_files.sh;
ln -sf wnd_file.nc ${ROSE_DATAC}/${GRID_NAME}_wnd.nc
ln -sf ${PWD}/wnd_file.nc ${ROSE_DATAC}/${GRID_NAME}_wnd.nc
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment