Enum Types
IDLA
Bases: IntEnum
Order of values in the input files.
Attributes
ONE: 1
SWAN reads the map from left to right starting in the upper-left-hand corner of
the map. A new line in the map should start on a new line in the file.
TWO: 2
As 1 but a new line in the map need not start on a new line in the file.
THREE: 3
SWAN reads the map from left to right starting in the lower-left-hand corner of
the map. A new line in the map should start on a new line in the file.
FOUR: 4
As 3 but a new line in the map need not start on a new line in the file.
FIVE: 5
SWAN reads the map from top to bottom starting in the lower-left-hand corner of
the map. A new column in the map should start on a new line in the file.
SIX: 6
As 5 but a new column in the map need not start on a new line in the file.
Notes
It is assumed that the x-axis of the grid is pointing to the right and the y-axis upwards.
Source code in rompy_swan/types.py
Attributes
GridOptions
Bases: str, Enum
Valid options for the input grid type.
Attributes
BOTTOM: "bottom" Bottom level grid. WLEVEL: "wlevel" Water level grid. CURRENT: "current" Current field grid. VX: "vx" Current field x-component grid. VY: "vy" Current field y-component grid. WIND: "wind" Wind velocity grid. WX: "wx" Wind velocity x-component grid. WY: "wy" Wind velocity y-component grid. FRICTION: "friction" Bottom friction grid. NPLANTS: "nplants" Horizontally varying vegetation density grid. TURBVISC: "turbvisc" Horizontally varying turbulent viscosity grid. MUDLAYER: "mudlayer" Horizontally varying mud layer thickness grid. AICE: "aice" Areal ice fraction grid, a number between 0 and 1. HICE: "hice" Ice thickness grid. HSS: "hss" Sea-swell significant wave height grid. TSS: "tss" Sea-swell mean wave period.
Source code in rompy_swan/types.py
Attributes
BoundShapeOptions
Bases: str, Enum
Valid options for the boundary shape type.
Attributes
JONSWAP: "jonswap" JONSWAP spectrum. PM: "pm" Pierson-Moskowitz spectrum. GAUSS: "gauss" Gaussian spectrum. BIN: "bin" Energy at a single bin spectrum. TMA: "tma" TMA spectrum.
Source code in rompy_swan/types.py
SideOptions
Bases: str, Enum
Valid options for the boundary shape type.
Attributes
NORTH: "north" North side. NW: "nw" North-west side. WEST: "west" West side. SW: "sw" South-west side. SOUTH: "south" South side. SE: "se" South-east side. EAST: "east" East side. NE: "ne" North-east side.
Source code in rompy_swan/types.py
Attributes
PhysicsOff
Bases: str, Enum
Physics commands to be switched off.
Attributes
WINDGROWTH : str = "windgrowth" Switches off wind growth (in commands GEN1, GEN2, GEN3). QUADRUPL : str = "quadrupl" Switches off quadruplet wave interactions (in command GEN3). WCAPPING : str = "wcapping" Switches off whitecapping (in command GEN3). BREAKING : str = "breaking" Switches off wave breaking dissipation. REFRAC : str = "refrac" Switches off wave refraction (action transport in theta space). FSHIFT : str = "fshift" Switches off frequency shifting (action transport in sigma space). BNDCHK : str = "bndchk" Switches off the checking of the delta imposed and computed Hs at the boundary.
Source code in rompy_swan/types.py
Attributes
BlockOptions
Bases: str, Enum
Valid options for block output parameters.
Attributes
HSIGN: "hsign"
Significant wave height (in m).
HSWELL: "hswell"
Swell wave height (in m).
DIR: "dir"
Mean wave direction (in degrees).
DPM: "dpm"
Mean wave direction at the peak frequency (in degrees).
PDIR: "pdir"
Peak wave direction (in degrees).
TDIR: "tdir"
Direction of energy transport (in degrees).
TM01: "tm01"
Mean absolute wave period (in s).
RTM01: "rtm01"
Mean relative wave period (in s).
RTP: "rtp"
Peak period of the (relative frequency) variance density spectrum (in s).
TPS: "tps"
Smoothed peak period (in s).
PER: "per"
Mean absolute wave period (in s).
RPER: "rper"
Mean relative wave period (in s).
TMM10: "tmm10"
Mean absolute wave period (in s).
RTMM10: "rtmm10"
Mean relative wave period (in s).
TM02: "tm02"
Mean absolute zero-crossing period (in s).
FSPR: "fspr"
The normalised width of the frequency spectrum.
DSPR: "dspr"
Directional spreading of the waves (in degrees).
QP: "qp"
Peakedness of the wave spectrum (dimensionless).
DEPTH: "depth"
Water depth (in m).
WATLEV: "watlev"
Water level (in m).
BOTLEV: "botlev"
Bottom level (in m).
VEL: "vel"
Current velocity (vector; in m/s).
FRCOEF: "frcoef"
Friction coefficient (equal to cfw or kn in command FRICTION).
WIND: "wind"
Wind velocity (vector; in m/s).
AICE: "aice"
Ice concentration (as a fraction from 0 to 1).
PROPAGAT: "propagat"
Sum of PROPXY, PROPTHETA and PROPSIGMA (in W/m2 or m2/s).
PROPXY: "propxy"
Energy propagation in geographic space; sum of x- and y-direction
(in W/m2 or m2/s).
PROPTHETA: "proptheta"
Energy propagation in theta space (in W/m2 or m2/s).
PROPSIGMA: "propsigma"
Energy propagation in sigma space (in W/m2 or m2/s).
GENERAT: "generat"
Total energy generation (in W/m2 or m2/s).
GENWIND: "genwind"
Energy generation due to wind (in W/m2 or m2/s).
REDIST: "redist"
Total energy redistribution (in W/m2 or m2/s).
REDQUAD: "redquad"
Energy redistribution due to quadruplets (in W/m2 or m2/s).
REDTRIAD: "redtriad"
Energy redistribution due to triads (in W/m2 or m2/s).
DISSIP: "dissip"
Total energy dissipation (in W/m2 or m2/s).
DISBOT: "disbot"
Energy dissipation due to bottom friction (in W/m2 or m2/s).
DISSURF: "dissurf"
Energy dissipation due to surf breaking (in W/m2 or m2/s).
DISWCAP: "diswcap"
Energy dissipation due to whitecapping (in W/m2 or m2/s).
DISSWELL: "disswell"
Energy dissipation due to swell dissipation (in W/m2 or m2/s).
DISVEG: "disveg"
Energy dissipation due to vegetation (in W/m2 or m2/s).
DISMUD: "dismud"
Energy dissipation due to mud (in W/m2 or m2/s).
DISICE: "disice"
Energy dissipation due to sea ice (in W/m2 or m2/s).
RADSTR: "radstr"
Energy transfer between waves and currents due to radiation stress
(in W/m2 or m2/s).
QB: "qb"
Fraction of breaking waves due to depth-induced breaking.
TRANSP: "transp"
Transport of energy (vector; in W/m2 or m2/s).
FORCE: "force"
Wave-induced force per unit surface area (vector; in N/m2).
UBOT: "ubot"
The rms-value of the maxima of the orbital velocity near the bottom (in m/s).
URMS: "urms"
The rms-value of the orbital velocity near the bottom (in m/s).
TMBOT: "tmbot"
The bottom wave period (in s).
WLENGTH: "wlength"
Average wave length (in m).
LWAVP: "lwavp"
Peak wave length (in m).
STEEPNESS: "steepness"
Average wave steepness (dimensionless).
BFI: "bfi"
Benjamin-Feir index (dimensionless).
NPLANTS: "nplants"
Number of plants per square meter.
DHSIGN: "dhsign"
Difference in significant wave height from the last two iterations (in m).
DRTM01: "drtm01"
Difference in average wave period (RTM01) from the last two iterations (in s).
LEAK: "leak"
Numerical loss of energy equal to cthetaE(omega,theta) across boundaries.
TIME: "time"
Full date-time string as part of line used in TABLE only.
TSEC: "tsec"
Time in seconds with respect to a reference time (see command QUANTITY).
XP: "xp"
The x-coordinate in the problem coordinate system of the output location.
YP: "yp"
The y-coordinate in the problem coordinate system of the output location.
DIST: "dist"
If output has been requested along a curve then the distance along the curve
can be obtained with the command TABLE. DIST is the distance along the curve
measured from teh first point on the curve to the output location on the curve
in meters (also in the case of spherical coordinates).
SETUP: "setup"
Set-up due to waves (in m).
PTHSIGN: "pthsign"
Watershed partitions of the significant wave height (in m).
PTRTP: "ptrtp"
Watershed partitions of the relative peak period (in s).
PTWLEN: "ptwlen"
Watershed partitions of the average wave length (in m).
PTDIR: "ptdir"
Watershed partitions of the peak wave direction (in degrees).
PTDSPR: "ptdspr"
Watershed partitions of the directional spreading (in degrees).
PTWFRAC: "ptwfrac"
Watershed partitions of the wind fraction (dimensionless).
PTSTEEPNE: "ptsteepne"
Watershed partition of the wave steepness (dimensionless).
PARTITION: "partition"
The raw spectral partition for wave system tracking post-processing.
Note
Energy given in W/m2 or m2/s depending on command SET.
Note
UBOT and URMS required command FRICTION to be used. If friction is ignored in the
computation, then one should use the command FRICTION with the value of the
friction set to zero (e.g., FRICTION COLLINS 0).
Source code in rompy_swan/types.py
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 | |