Skip to contents

A function to list all python scripts to download ERA5 and create a slurm batch file.

Usage

Create_Slurm_scripts(
  py.PATH,
  mem_per_cpu = 2000,
  time_limit = "48:00:00",
  job_name = "ERA5 for WRF",
  email
)

Arguments

py.PATH

Path to the created Python scripts

mem_per_cpu

Memory per CPU in MB.

time_limit

Time limit for the complete Slurm job. For 12 hours should be: "12:00:00" and for 2 days either "48:00:00" or "2-00:00:00"

job_name

The name of the job

email

The user email as "user\@example.com"

Value

Slurm job script

Author

Ahmed Homoudi