REMORA
Regional Modeling of Oceans Refined Adaptively
Loading...
Searching...
No Matches
LatLonRegridOptions Struct Reference

How a NetCDF forcing field on a lat-lon grid is interpolated onto the model grid. More...

#include <REMORA_LatLonRegrid.H>

Collaboration diagram for LatLonRegridOptions:

Public Attributes

bool enabled = true
 
std::string lon_name
 
std::string lat_name
 
int fill_max_rings = 3
 
bool rotate = true
 

Detailed Description

How a NetCDF forcing field on a lat-lon grid is interpolated onto the model grid.

Set from remora.frc_regrid, remora.frc_lon_varname, remora.frc_lat_varname and remora.frc_fill_max_rings.

Definition at line 17 of file REMORA_LatLonRegrid.H.

Member Data Documentation

◆ enabled

bool LatLonRegridOptions::enabled = true

Interpolate a field whose shape is not the model grid's (remora.frc_regrid = auto); when false (off) such a field is an error

Definition at line 21 of file REMORA_LatLonRegrid.H.

Referenced by REMORA::init_only(), and REMORA::ReadParameters().

◆ fill_max_rings

int LatLonRegridOptions::fill_max_rings = 3

How many source cells out to look for a valid value when every corner of a target point's cell is missing data

Definition at line 28 of file REMORA_LatLonRegrid.H.

Referenced by LatLonRegrid::define(), and REMORA::ReadParameters().

◆ lat_name

std::string LatLonRegridOptions::lat_name

Name of the latitude variable; empty to take it from the field's coordinates attribute

Definition at line 25 of file REMORA_LatLonRegrid.H.

Referenced by REMORA::ReadParameters(), and LatLonRegrid::same_source_grid().

◆ lon_name

std::string LatLonRegridOptions::lon_name

Name of the longitude variable; empty to take it from the field's coordinates attribute

Definition at line 23 of file REMORA_LatLonRegrid.H.

Referenced by REMORA::ReadParameters(), and LatLonRegrid::same_source_grid().

◆ rotate

bool LatLonRegridOptions::rotate = true

Rotate interpolated winds and stresses, given east and north, onto the model grid's xi and eta axes (remora.frc_rotate = auto); off when the file is already rotated

Definition at line 31 of file REMORA_LatLonRegrid.H.

Referenced by REMORA::init_only(), REMORA::ReadParameters(), REMORA::set_smflux(), and REMORA::winds_need_rotation().


The documentation for this struct was generated from the following file: