snowpack-model / snowpack

SNOWPACK model
GNU Lesser General Public License v3.0
10 stars 5 forks source link

Create SNOWPACK forcing files (.smet) from netcdf files. #1

Closed EricKeenan closed 4 years ago

EricKeenan commented 4 years ago

I've added a subdirectory create_forcing which contains a workflow to create .smet forcing files for SNOWPACK from climate model NetCDF files. There are still a few remaining issues that I will list below. Ideally, these are all fixed before merging with master.

  1. The workflow currently does not support wind direction in epsg 3031. Need to add this to io.ini.
  2. The workflow is currently hard codded for MERRA-2. Update this in io.ini and maybe provide a path argument for job.sbatch? Also, make workflow work for any climate model.
  3. data_converter is a soft link. Make this more robust!
  4. Provide an output temporal resolution argument.
  5. Improve documentation.
  6. job.sbatch is only functional in slurm.
  7. Generalize sed commands in job.sbatch.

Any think else we can improve or change?

EricKeenan commented 4 years ago

Following a conversation with @nwever, we will:

  1. Put this new feature in the Scripts directory.
  2. Remove wind direction from the default settings in io.ini.
  3. Have a base.ini --> ${model}.ini --> ${model}_${year}.ini
EricKeenan commented 4 years ago

Turns out programming is more fun than writing :p...

I've addressed all of these items except:

  1. Adding CESM functionality
  2. Adding slurm and PBS functionality from to_exec.lst
  3. Documentation update in README.md
EricKeenan commented 4 years ago

Ok. I think I've updated everything.

@nwever Can you take a look? And if things look ok add a CESM.ini file and PBS job script?