Skip to content

Commit

Permalink
Clean up cru ts dir
Browse files Browse the repository at this point in the history
  • Loading branch information
sgoodm committed Feb 10, 2023
1 parent 9dcb5e4 commit 62b0010
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cru_ts/archive/create_env.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

conda env create -f environment.yml
36 changes: 36 additions & 0 deletions cru_ts/archive/environment.yml
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions cru_ts/archive/export_env.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

conda env export > environment.yml
27 changes: 27 additions & 0 deletions cru_ts/archive/jobscript
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 62b0010

Please sign in to comment.