Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove hardcoded paths #2

Open
pmav99 opened this issue May 2, 2024 · 1 comment
Open

Remove hardcoded paths #2

pmav99 opened this issue May 2, 2024 · 1 comment

Comments

@pmav99
Copy link
Contributor

pmav99 commented May 2, 2024

There are hardcoded paths:

$ ag 'home\/tomsail'
mesh_v0.1.py
55:    wind = glob.glob("/home/tomsail/Documents/work/python/pyPoseidon/Tutorial/data/era5_202307_uvp.nc")
62:    fdem = "/home/tomsail/Documents/work/python/pyPoseidon/Tutorial/data/ETOPO_0.03.nc"

mesh_v0.py
56:    wind = glob.glob("/home/tomsail/Documents/work/python/pyPoseidon/Tutorial/data/era5_202307_uvp.nc")
63:    fdem = "/home/tomsail/Documents/work/python/pyPoseidon/Tutorial/data/ETOPO_0.03.nc"
@tomsail
Copy link
Contributor

tomsail commented May 14, 2024

I don't need wind anymore to generate meshes
The only hardcoded paths left are :

  1. gshhs_folder = "../coastlines/out/"
  2. fdem = "ETOPO_0.03.nc"

1 implies the coastlines is in the same folder as seareport_meshes
2 implies the bathy needs to be in seareport_meshes (I personally create symbolic links)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants