Skip to content

guoqiang-tang/EMDNA_subset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

EMDNA_subset

The script is used to extract a subset dataset from the EMDNA dataset.

For running the script on Compute Canada Graham, the steps are:
(1) Install Python packages if this has not been done before
Reference: https://docs.computecanada.ca/wiki/Python#Installing_packages

First, creating and using a virtual environment:
[name@server ~]$ virtualenv --no-download ~/ENV

Then, install packages:
[name@server ~]$ module load python/3.7.4
[name@server ~]$ source ~/ENV/bin/activate
[name@server ~]$ pip install netCDF4 --no-index
[name@server ~]$ pip install pandas --no-index
[name@server ~]$ pip install xarray --no-index

(2) Change the parameters and paths in EMDNA_subsetting.py
Note: The path of input files should be useful for Graham users

(3) Submit jobs
Command: sbatch graham_EMDNAsubset.sh
Note: The "time" and "mem" in graham_EMDNAsubset.sh may need to be changed according to target data amounts.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published