National Oceanic and
Atmospheric Administration
United States Department of Commerce

Sampling along a cruise track

Sampling along a cruise track

Question:

> I have model output, and I want to extract it along a transect
> which matches an ocean cruise. The cruise, of course, does not
> run along a model grid (or even a particularly straight) line.
> I've translated the lat/lons of the cruise stations into i,j
> coordinates from the model domain. Now . . . is there a way
> to use ferret to extract the model output along a section that
> matches the cruise track?

Solution:

The script

 yes? GO vertical_section

will sample a model output to match a cruise.

As-is, the script uses regularly spaced points along a straight line cruisepath, but if you examine (and modify) the internals of the script the sameprocedure can be used to sample your model at arbitrary cruise stations. Justreplace the variables "x_vsect" and "y_vsect"with the actual long,lat positions of your cruise stations.