get_lon_index: Get the index for a given longitude

View source: R/msstc_old.R

get_lon_indexR Documentation

Get the index for a given longitude

Description

Get the index for a given longitude

Usage

get_lon_index(nc, target_lon = 165.5)

Arguments

nc

A NetCDF file

target_lon

Optional. The longitude to find an index nearest to, given in westings (i.e., 360-target_lon => eastings)

Value

(numeric) A vector of longitude indices


yukon-forecasting/data documentation built on June 2, 2025, 12:14 a.m.