Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
brivas
ORCHESTRA-SST
Commits
5b47d8d7
Commit
5b47d8d7
authored
3 years ago
by
Beartriz Recinos Rivas
Browse files
Options
Download
Email Patches
Plain Diff
updated paths and config file explanation
parent
ecef7693
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
12 deletions
+22
-12
config.ini
config.ini
+16
-7
src/run_gridding.slurm
src/run_gridding.slurm
+6
-5
No files found.
config.ini
View file @
5b47d8d7
# Paths to the data
repo_path
=
'/home/users/brecinos/ORCHESTRA/'
# Paths to the data replace ~ with your user path
# This path is where your repository has been clone
repo_path
=
'~/orchestra-sst/'
# Until the 17/08/2021 the cci data was still there
satellite_sst
=
'/neodc/esacci/sst/data/CDR_v2/Analysis/L4/v2.1/'
drifters_sst
=
'/gws/nopw/j04/glosat/development/data/interim/HOSTACE_PROC/TEST_CONFIG/output_data/MFILES_DRIFT/'
# Check with Liz for latest version of the data
drifters_sst
=
'/gws/nopw/j04/glosat/development/data/interim/HOSTACE_PROC/RUNjan2021/output_data/MFILES_DRIFT/'
plots_path
=
'/home/users/brecinos/ORCHESTRA/plots/'
# Output path for visualizations.
# You must create this directory after you clone the repository
plots_path
=
'~/orchestra-sst/plots/'
# Output paths for the re-gridding process
satellite_sst_1x1
=
'/gws/nopw/j04/orchestra_vol2/ESAcci_sst_v2.1_coarse/v2.1_1x1/'
satellite_sst_2x2
=
'/gws/nopw/j04/orchestra_vol2/ESAcci_sst_v2.1_coarse/v2.1_2x2/'
...
...
@@ -15,7 +21,10 @@ satellite_sst_buoy_1x1 = '/gws/nopw/j04/orchestra_vol2/ESAcci_sst_v2.1_coarse/v2
satellite_sst_buoy_2x2
=
'/gws/nopw/j04/orchestra_vol2/ESAcci_sst_v2.1_coarse/v2.1_atbuoy_2x2/'
# Local paths for local scripts
time_series
=
'/Users/brivas/ORCHESTRA_sst/input_data/time_series_ESAcci_sst/'
# Output paths for the local scripts
# That do not require a job scheduler run
# Where to store the time series analysis
time_series
=
'~/orchestra-sst/input_data/time_series_ESAcci_sst/'
combined_data
=
'/Users/brivas/ORCHESTRA_sst/input_data/netcdf_ESAcci_sst_resampled'
\ No newline at end of file
# Store the time series as netcdf
combined_data
=
'/orchestra-sst/input_data/netcdf_ESAcci_sst_resampled'
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/run_gridding.slurm
View file @
5b47d8d7
#!/bin/bash
#SBATCH --partition=short-serial
#SBATCH --array=1-3
#SBATCH --partition=short-serial
-4hr
#SBATCH --array=1-3
001
#SBATCH --job-name=sst_buoy_regrid
#SBATCH --output=../slurm_log_output/sst_buoy_regrid_%A_%a.out
#SBATCH --error=../slurm_log_output/sst_buoy_regrid_%A_%a.err
#SBATCH --mem=4000
#SBATCH --time=1
2
:00:00
#SBATCH --time=1:00:00
source
activate ~/miniconda3/envs/sst
start_year
=
2004
start_year
=
1993
start_month
=
1
start_day
=
1
echo
"Analysing data for
$SLURM_ARRAY_TASK_ID
days
"
echo
"Analysing data for
this number of days:
$SLURM_ARRAY_TASK_ID
"
echo
"since
$start_year
$start_month
$start_day
minus a day"
python ~/ORCHESTRA/scripts/coarse_cci_sst.py
$start_year
$start_month
$start_day
$SLURM_ARRAY_TASK_ID
echo
"Done slurm task ID =
$SLURM_ARRAY_TASK_ID
"
##Uncomment for statistics on the Job
##sacct -j $SLURM_JOB_ID --format=User,JobID,Jobname,partition,state,time,start,end,elapsed,MaxRss,MaxVMSize,nnodes,ncpus,nodelist >> ../slurm_log_output/job_stats.out
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment