<p>I am currently using a Pierson Moskowitz spectrum to model the wave energy in the Mediterranean Sea. However I don't think this this is appropriate due to the limited fetch in the coastal area that I'm interested in. Therefore I'm going to switch to a JONSWAP spectrum which will encorporate the fetch too.</p>

<p>I can't find many resources on how to go about calculating fetch except for the <a href="https://cran.r-project.org/web/packages/fetchR/vignettes/introduction-to-fetchR.html" rel="noreferrer">fetchR</a> package in R. I am not an R user (more Python/Matlab) although if this is the best option I will happily learn. </p>

<p>Are there any other online resources for calculating fetch in the Med sea?</p>

<p>Thanks,</p>

<p>Rachael </p>

CC BY-SA 3.0
2018-01-09T18:10:11.027Z
Would this help? https://woodshole.er.usgs.gov/project-pages/coastal_model/Tools/fetch_limited.html
arkaia
CC BY-SA 3.0
2018-01-10T04:21:42.427Z
can't you call R functions from Python?
haresfur
CC BY-SA 3.0
2018-01-10T08:19:52.923Z
To make sure I understand correctly: You have your wave model programmed in Fortran or C. You do want to calculate the fetch externally in Python or Matlab. You want to do it as it could be done with fetchR (fetch for several wind directions) for each grid cell. You want to write this fetch information out (text or netCDF) and then import it into your wave model? You do it this way to save computation time in your actual wave model?
daniel.heydebreck
CC BY-SA 3.0
2018-01-10T10:40:57.080Z
I have significant wave height, wave direction, peak wave frequency and average spread parameters for many locations. I'm then using these to model a spectrum for each location - this is in Python (the area I'm looking at is very small, so Python is fine for the task). But you are correct, for each grid point I also want a fetch value (indeed for several directions) to input into the model too- netCDF is the preference!
RH_data_maths
<ocean-models>
Calculating fetch
RH_data_maths
# Calculating fetch

(Asked by: username_0 on 2018-01-09)

I am currently using a Pierson Moskowitz spectrum to model the wave energy in the Mediterranean Sea. However I don't think this this is appropriate due to the limited fetch in the coastal area that I'm interested in. Therefore I'm going to switch to a JONSWAP spectrum which will encorporate the fetch too.

I can't find many resources on how to go about calculating fetch except for the [fetchR](https://cran.r-project.org/web/packages/fetchR/vignettes/introduction-to-fetchR.html) package in R. I am not an R user (more Python/Matlab) although if this is the best option I will happily learn.

Are there any other online resources for calculating fetch in the Med sea?

Thanks,

Rachael

**Tags:** ocean-models

> **Comments:**
> **username_1**: Would this help? https://woodshole.er.usgs.gov/project-pages/coastal_model/Tools/fetch_limited.html  
> **username_2**: can't you call R functions from Python?  
> **username_3**: To make sure I understand correctly: You have your wave model programmed in Fortran or C. You do want to calculate the fetch externally in Python or Matlab. You want to do it as it could be done with fetchR (fetch for several wind directions) for each grid cell. You want to write this fetch information out (text or netCDF) and then import it into your wave model? You do it this way to save computation time in your actual wave model?  
> **username_0**: I have significant wave height, wave direction, peak wave frequency and average spread parameters for many locations. I'm then using these to model a spectrum for each location - this is in Python (the area I'm looking at is very small, so Python is fine for the task). But you are correct, for each grid point I also want a fetch value (indeed for several directions) to input into the model too- netCDF is the preference!  

---

## 0 answers

