diff --git a/cru_ts/archive/create_env.sh b/cru_ts/archive/create_env.sh new file mode 100755 index 00000000..5f4bf757 --- /dev/null +++ b/cru_ts/archive/create_env.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +conda env create -f environment.yml diff --git a/cru_ts/archive/environment.yml b/cru_ts/archive/environment.yml new file mode 100644 index 00000000..a8660c87 --- /dev/null +++ b/cru_ts/archive/environment.yml @@ -0,0 +1,36 @@ +name: cru_ts_405 +channels: + - defaults +dependencies: + - _libgcc_mutex=0.1=main + - _openmp_mutex=4.5=1_gnu + - ca-certificates=2021.5.25=h06a4308_1 + - certifi=2021.5.30=py38h06a4308_0 + - ld_impl_linux-64=2.35.1=h7274673_9 + - libffi=3.3=he6710b0_2 + - libgcc-ng=9.3.0=h5101ec6_17 + - libgomp=9.3.0=h5101ec6_17 + - libstdcxx-ng=9.3.0=hd4cf53a_17 + - ncurses=6.2=he6710b0_1 + - openssl=1.1.1k=h27cfd23_0 + - pip=21.1.2=py38h06a4308_0 + - python=3.8.10=h12debd9_8 + - readline=8.1=h27cfd23_0 + - setuptools=52.0.0=py38h06a4308_0 + - sqlite=3.35.4=hdfb4753_0 + - tk=8.6.10=hbc83047_0 + - wheel=0.36.2=pyhd3eb1b0_0 + - xz=5.2.5=h7b6447c_0 + - zlib=1.2.11=h7b6447c_3 + - pip: + - affine==2.3.0 + - attrs==21.2.0 + - cftime==1.5.0 + - click==8.0.1 + - click-plugins==1.1.1 + - cligj==0.7.2 + - netcdf4==1.5.6 + - numpy==1.20.3 + - pyparsing==2.4.7 + - rasterio==1.2.4 + - snuggs==1.4.7 diff --git a/cru_ts/archive/export_env.sh b/cru_ts/archive/export_env.sh new file mode 100755 index 00000000..18307a15 --- /dev/null +++ b/cru_ts/archive/export_env.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +conda env export > environment.yml diff --git a/cru_ts/archive/jobscript b/cru_ts/archive/jobscript new file mode 100644 index 00000000..19c7065c --- /dev/null +++ b/cru_ts/archive/jobscript @@ -0,0 +1,27 @@ +#!/bin/tcsh +#PBS -N asg:cru_ts +#PBS -l nodes=1:c18c:ppn=16 +#PBS -l walltime=24:00:00 +#PBS -j oe + +# init conda within new shell for job + +# vortex [nodespec c18a or c18c for vortex-alpha, ppn up to 12 or 16 for vortex / alpha] +source "/usr/local/anaconda3-2021.05/etc/profile.d/conda.csh" +module load anaconda3/2021.05 + +# hima [nodespec: hima:nogpu, ppn up to 32] +# source "/usr/local/anaconda3-4.4.0/etc/profile.d/conda.csh" +# module load anaconda3/4.4.0 + + +unsetenv PYTHONPATH + + +conda activate cru_ts_405 + +setenv src_dir /sciclone/aiddata10/geo/master/source/geo-datasets +# setenv src_dir /sciclone/home20/smgoodman/geo-datasets + + +python ${src_dir}/cru_ts/extract_data.py \ No newline at end of file