euroargodev / euroargodev/terrain-following
For python newbies
- Dominant language
- Python
- Stars
- 4
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
@KaiheYamazaki (this is not really an issue, I just dont know were eles to put this for my Euro-Argo RISE colleagues!)
Dear all, I know that there are a lot of python newbies so I am just writing here how I use the code
**How do I run this code**
[terrain-following ](https://github.com/euroargodev/terrain-following)
This is the terrain-following interpolation algorithm documented in Yamazaki+(2020) https://doi.org/10.1029/2019JC015406.
Copy the prof.nc files to the toolbox folder
_this is the folder where I copied the repository _
[\\win.bsh.de\root$\Standard\Hamburg\Homes\Homes00\bm2286\CodeProjects\terrain-following](file:///root$/Standard/Hamburg/Homes/Homes00/bm2286/CodeProjects/terrain-following)
Open spyder (in the base environment)
Execute
```python
runfile('nc2csv.py')
runfile('process.py')
runfile('interpolation_v2.py')
```
Export the results to the desired csv file (I prefer to do it file by file, but it works on many files at the same time)
df.to_csv(path+'TrajectoryCSVinterppos_7900549.csv')
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.