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 e6aba03c authored by Modellers Operational's avatar Modellers Operational

Bug fix to remote archive code

parent 3f020d72
......@@ -7,7 +7,7 @@ import PyFVCOM as pf
fvcom_output_path = sys.argv[1]
fvcom_grid_name = sys.argv[2]
start_date = dt.datetime.strptime(sys.argv[3], '%Y-%m-%d')
end_date = dt.datetime.strptime(sys.argv[4], '%Y-%m-%d')
end_date = dt.datetime.strptime(sys.argv[4], '%Y-%m-%d') - dt.timedelta(days=1)
date_list = pf.utilities.time.date_range(start_date, end_date)
......
[jinja2:suite.rc]
## Run properties
COLD_START=True
COLD_START=False
SEDIMENT=False
USE_CETO=True
NODES=10
......@@ -8,10 +8,13 @@ FORECAST=True
REMOTE_USER='modop'
MAIL_TO='mbe@pml.ac.uk'
INITIAL_START_DATE='2019-02-05T00:00:00Z'
INITIAL_START_DATE='2019-05-10T00:00:00Z'
FINAL_CYCLE_POINT='NONE'
RUNDAYS=1
HINDCAST_DAYS=1
FORECAST_DAYS=2
ARCHIVE_DIR='data/sthenno1/scratch/modop/Model/FVCOM_rosa/output'
REMOTE_ARCHIVE_DIR='/gpfs1/users/modellers/modop/Output/FVCOM_rosa_rolling'
## Grid properties and files
GRID_NAME='aqua_v16'
......@@ -21,10 +24,6 @@ PLOT_DIR='data/sthenno1/scratch/modop/Model/FVCOM_rosa/plots'
TEMP_ACTIVE='T'
SALT_ACTIVE='T'
TEMP_ACTIVE='T'
SALT_ACTIVE='T'
## Atmospheric setup
WIND_ON='T'
HEATING_ON='T'
......@@ -34,7 +33,7 @@ AIR_PRESSURE_ON='T'
WRF_RUN_SUITE='wrf'
WRF_FORECAST_FILE_DIR='/gpfs1/users/modellers/modop/Models/WRF_transfer_dir/'
WRF_ARCHIVE_DIR='/data/sthenno1/scratch/modop/Model/WRF/output'
WRF_ARCHIVE_DATEFMT='%Y%m%d'
WRF_ARCHIVE_DATEFMT='%Y-%m-%d'
## River setup
## Between 'NONE', 'NEURAL_NET', and 'CLIMATOLOGY'
......@@ -59,11 +58,11 @@ NEST_RUN_SUITE='rose-rosa'
NEST_INTERVAL='24'
## FVCOM namelist settings
EXT_TSTEP='.150'
ISPLIT='5'
STARTUP_DMAX='5.00'
HORIZONTAL_MIXING_COEFFICIENT='2.000000e-01'
VERTICAL_MIXING_COEFFICIENT='1.000000e-05'
EXT_TSTEP='1.5'
ISPLIT='10'
STARTUP_DMAX='-3'
HORIZONTAL_MIXING_COEFFICIENT='0.04'
VERTICAL_MIXING_COEFFICIENT='1.000000e-06'
COORDINATES='cartesian'
# Output options
......
......@@ -19,6 +19,7 @@ GRID_NAME='tamar_v2'
COMMON_FILES_PATH='/users/modellers/modop/Models/FVCOM_tamar_common/'
ARCHIVE_DIR='data/sthenno1/scratch/modop/Model/FVCOM_tamar/output'
PLOT_DIR='data/sthenno1/scratch/modop/Model/FVCOM_tamar/plots'
REMOTE_ARCHIVE_DIR='/gpfs1/users/modellers/modop/Output/FVCOM_tamar_rolling'
TEMP_ACTIVE='T'
SALT_ACTIVE='T'
......
......@@ -110,6 +110,7 @@
REMOTE_TRANSFER_DIR={{REMOTE_TRANSFER_DIR}}
ARCHIVE_DIR={{ARCHIVE_DIR}}
PLOT_DIR={{PLOT_DIR}}
REMOTE_ARCHIVE_DIR={{REMOTE_ARCHIVE_DIR}}
HARMONICS_FILE_PATH={{HARMONICS_FILE_PATH}}
DONOR_RESTART_FILE_PATH={{DONOR_RESTART_FILE_PATH}}
......
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