The COAWST Toolbox COAWST Workshop 2019 NCSU ONR.

Slides:



Advertisements
Similar presentations
Weather Research & Forecasting: A General Overview
Advertisements

INWAVE: THE INFRAGRAVITY WAVE DRIVER OF THE COAWST SYSTEM
WRF Modeling System V2.0 Overview
NCAS Unified Model Introduction Part 1b: Running the UM University of Reading, 3-5 December 2014.
Modeling Past and Future Climate Changes
PRESENTS: FORECASTING FOR OPERATIONS AND DESIGN February 16 th 2011 – Aberdeen.
Operational Forecasting Wave Models. WaveWatch III (Tolman 1997, 1999a) Model description: – Third generation wave model developed at NOAA/NCEP. – Solves.
Why python? Automate processes Batch programming Faster Open source Easy recognition of errors Good for data management What is python? Scripting programming.
“Where America’s Climate, Weather and Ocean Services Begin” NCEP CONDUIT UPDATE Brent A Gordon NCEP Central Operations January 31, 2006.
Outline of Talk Introduction Toolbox functionality Results Conclusions and future development.
Alpine3D: an alpine surface processes model Mathias Bavay WSL Institute for Snow and Avalanche Research SLF, Davos, Switzerland.
This is the footer WRF Basics Weather Research and Forecasting.
Departamento de Física
The International Surface Pressure Databank (ISPD) and Twentieth Century Reanalysis at NCAR Thomas Cram - NCAR, Boulder, CO Gilbert Compo & Chesley McColl.
This is the footer Running WRF on HECToR Ralph Burton, NCAS (Leeds) Alan Gadian, NCAS (Leeds) With thanks to Paul Connolly, Hector.
WRF-VIC: The Flux Coupling Approach L. Ruby Leung Pacific Northwest National Laboratory BioEarth Project Kickoff Meeting April 11-12, 2011 Pullman, WA.
EGU 2011 TIGGE, TIGGE LAM and the GIFS T. Paccagnella (1), D. Richardson (2), D. Schuster(3), R. Swinbank (4), Z. Toth (3), S.
Configuring ROMS for South of Java Kate Hedstrom, ARSC/UAF October, 2007.
Copyright 2012, University Corporation for Atmospheric Research, all rights reserved Verifying Ensembles & Probability Fcsts with MET Ensemble Stat Tool.
RDFS Rapid Deployment Forecast System Visit at: Registration required.
Oceanic and Atmospheric Modeling of the Big Bend Region Steven L. Morey, Dmitry S. Dukhovksoy, Donald Van Dyke, and Eric P. Chassignet Center for Ocean.
Model Coupling Environmental Library. Goals Develop a framework where geophysical models can be easily coupled together –Work across multiple platforms,
Dataset Development within the Surface Processes Group David I. Berry and Elizabeth C. Kent.
Integrated Grid workflow for mesoscale weather modeling and visualization Zhizhin, M., A. Polyakov, D. Medvedev, A. Poyda, S. Berezin Space Research Institute.
USF FVCOM Tropical Cyclone Inundation Testbed Progress by Robert H. Weisberg, Lianyuan Zheng and Yong Huang College of Marine Science University of South.
MS 698: 2014 Implementing a Hydrodynamic Model - Part 2 Julia Moriarty 14 February 2014.
Installing and Running the WPS Michael Duda 2006 WRF-ARW Summer Tutorial.
Soil moisture generation at ECMWF Gisela Seuffert and Pedro Viterbo European Centre for Medium Range Weather Forecasts ELDAS Interim Data Co-ordination.
Aristeidis K. Georgoulias Konstantinos Kourtidis Konstantinos Konstantinidis AMFIC Web Data Base AMFIC Annual Meeting - Beijing October 2008 Democritus.
WRF Four-Dimensional Data Assimilation (FDDA) Jimy Dudhia.
Regional Climate Model Evaluation System based on satellite and other observations for application to CMIP/AR downscaling Peter Lean 1, Jinwon Kim 1,3,
Current and Future Initialization of WRF Land States at NCEP Ken Mitchell NCEP/EMC WRF Land Working Group Workshop 18 June 2003.
An Overview of ROMS Code Kate Hedstrom, ARSC April 2007.
___________________________________________________________________________WRF-SI ___________________________________________________Community Modeling.
Installing and Running the WPS Michael Duda 2006 WRF-ARW Summer Tutorial.
Performance Comparison of an Energy- Budget and the Temperature Index-Based (Snow-17) Snow Models at SNOTEL Stations Fan Lei, Victor Koren 2, Fekadu Moreda.
Agreements on... Interim ELDAS Data coordination meeting Time schedule for soil moisture production –Submission of results for two month period –Preparation,
GLOSS Training Workshop Course Japan Meteorological Agency May 15-26, 2006 Sea Level Data Processing with SLPR2 1. Introduction.
SnowSTAR 2002 Transect Reconstruction Using SNTHERM Model July 19, 2006 Xiaogang Shi and Dennis P. Lettenmaier.
16-1 PC-HYSPLIT WORKSHOP Workshop Agenda Introduction to HYSPLIT Introduction.ppt Model Overview Model_Overview.ppt Meteorological Data Meteorological_Data.ppt.
William Perry U.S. Geological Survey Western Ecological Research Center Geography 375 Final Project May 22, 2013.
Testing of Objective Analysis of Precipitation Structures (Snowbands) using the NCAR Developmental Testbed Center (DTC) Model Evaluation Tools (MET) Software.
The TIGGE Model Validation Portal: An Improvement in Data Interoperability 1 Thomas Cram Doug Schuster Hannah Wilcox Michael Burek Eric Nienhouse Steven.
IC2_I Scenarios of future changes in the occurrence of extreme storm surges Nilima Natoo A. Paul, M. Schulz (University of Bremen) M.
SEE-GRID-SCI WRF-ARW model: Grid usage The SEE-GRID-SCI initiative is co-funded by the European Commission under the FP7 Research Infrastructures.
The National Center for Atmospheric Research is operated by the University Corporation for Atmospheric Research under sponsorship of the National Science.
Coupling ROMS and CSIM in the Okhotsk Sea Rebecca Zanzig University of Washington November 7, 2006.
Andrew White, Brian Freitag, Udaysankar Nair, and Arastoo Pour Biazar
Australia’s Marine Virtual Laboratory, MARVL: enabling efficient ocean model configuration  Roger Proctor and the MARVL team.
WRF Four-Dimensional Data Assimilation (FDDA)
ROMS Framework: Kernel
  Robert Gibson1, Douglas Drob2 and David Norris1 1BBN Technologies
Coupled atmosphere-ocean simulation on hurricane forecast
SWAN model applications
Getting your Oceanographic Data for EIS
ENFORCED MOTION IN TRANSIENT ANALYSIS
Changing WRF input files (met_em…) with MATLAB
gWRF Workflow and Input Data Requirements
COAPS, Florida State University
Heat Index Pentaho User Manual.
GeoFEST tutorial What is GeoFEST?
MIT MSEAS Software Software reads and displays any model output for MOOS-IVP Provides ocean images on which vehicle simulations are superimposed Snapshots.
Runoff Simulations in Region12 (or almost the State of Texas)
Clip & Convert to ASCII Program Kelly Knapp Spring 2010
WRF Application in COAWST
SWAN model applications
Status of the Regional OSSE for Space-Based LIDAR Winds – Feb01
Comeaux and Worley, NSF/NCAR/SCD
Rebecca Cosgrove NCEP/NCO/Production Management Branch April 11, 2011
Presentation transcript:

The COAWST Toolbox COAWST Workshop 2019 NCSU ONR

The COAWST Toolbox: What are the components needed for an arbitrary model setup? ONR

1) grid ONR

2) initial condition: T, S, η, u, v, sediment, vegetation, waves ONR

3) atmospheric forcing precipitation LW, SW air temperature radiation humidity stresses LW, SW radiation winds ONR

4) boundary forcing precipitation LW, SW air temperature radiation humidity stresses LW, SW radiation winds waves tides incoming or outgoing currents, T, S, sediment ONR

5) climatology LW, SW precipitation radiation air temperature winds humidity winds waves tides incoming or outgoing currents, T, S, sediment ONR

The COAWST Toolbox: What is it? suite of MATLAB tools, scripts, and functions distributed with COAWST via svn provides standard functionality to create grids, initial condition, boundary, and climatology files, atmospheric forcing files, tidal forcing files ROMS expects specific variable names, dimensions, units, netcdf conventions check varinfo.dat SWAN expects specific file formats check SWAN User Manual ONR

The COAWST Toolbox: What is it? other very useful toolboxes are also distributed within utility, analysis, plotting routines tidal analysis map generation ONR

The COAWST Toolbox: What is it? recommended approach: add the toolbox to your MATLAB path copy overarching (master) functions to your own folder for editing for your application ONR

The COAWST Toolbox: Where is it? [~/COAWST]$ ls coawst.bash Lib run_coawst WRF COAWST_User_Manual.doc makefile SOILPARM.TBL WW3 Compilers Master SWAN Data Projects Tools ESM REFDIF URBPARM.TBL GENPARM.TBL ROMS User InWave RRTM_DATA VEGPARM.TBL LANDUSE.TBL RRTM_DATA_DBL WPS ONR

The COAWST Toolbox: What is in it? [~/COAWST/Tools/mfiles/]$ ls inwave_tools m_map mtools roms_clm rutgers swan_forc tides ONR

The COAWST Toolbox: What is in it? [~/COAWST/Tools/mfiles/]$ ls inwave_tools m_map mtools roms_clm rutgers swan_forc tides ONR

The COAWST Toolbox: inwave_tools [~/COAWST/Tools/mfiles/inwave_tools/]$ ls Bound_wave.m InWave_inlet_test_param.m plot_bound_wave.m create_InWave_bry.m InWave_lip_param.m read_swan_spc.m create_InWave_grd.m InWave_shoreface_param.m specchar.m create_InWave_ini.m jonswap_lip.m waven.m freq_test.m master_InWave_create_files.m groupchar.m offbreach_2012103100.spc2d InWave is an infragravity wave model that uses SWAN S(ƒ,θ) to generate and propagate infragravity wave energy scripts to build test cases (master_*.m, InWave_*_param.m, create_InWave_*.m) scripts to calculate wave characteristics (waven.m, specchar.m, freq_test.m, …) ONR

The COAWST Toolbox: What is in it? [~/COAWST/Tools/mfiles/]$ ls inwave_tools m_map mtools roms_clm rutgers swan_forc tides ONR

The COAWST Toolbox: m_map [~/COAWST/Tools/mfiles/m_map/]$ ls Contents.m m_etopo2.m m_idist.m m_range_ring.m m_usercoast.m m_annotation.m m_etopo2.m.OLD m_jet.m m_rectangle.m m_utmgrid.m map.html m_fdist.m m_legend.m m_ruler.m m_vec.m mapug.html m_geo2mag.m m_line.m m_scale.m m_windbarb.m m_coast.m m_geodesic.m m_ll2xy.m m_scatter.m m_xy2ll.m m_colmap.m m_grid.m m_lldist.m m_shadedrelief.m m_xydist.m m_contfbar.m m_gshhs_c.m m_mag2geo.m m_shaperead.m mygrid_sand2.m m_contourf.m m_gshhs_f.m m_patch.m m_streamline.m private m_contour.m m_gshhs_h.m m_pcolor.m m_tba2b.m wysiwyg.m m_coord.m m_gshhs_i.m m_plotbndry.m m_tbase.m m_demo.m m_gshhs_l.m m_plot.m m_text.m m_elev.m m_gshhs.m m_proj.m m_track.m m_ellipse.m m_hatch.m m_quiver.m m_ungrid.m https://www.eoas.ubc.ca/~rich/map.html mapping functionality for MATLAB ONR

The COAWST Toolbox: m_map ONR

The COAWST Toolbox: What is in it? [~/COAWST/Tools/mfiles/]$ ls inwave_tools m_map mtools roms_clm rutgers swan_forc tides ONR

The COAWST Toolbox: mtools [~/COAWST/Tools/mfiles/mtools/]$ ls create_extra_rho_grid.m ncei_2roms.m create_roms_child_clm.m ncei_2swan.m create_roms_child_init.m netcdf_load.m create_roms_forcings.m parentchild_bathy.m create_roms_init.m parentchild_mask.m create_roms_netcdf_grid_file.m pcolorjw.m create_roms_rivers.m plot_scrip_weights.m create_roms_xygrid.m roms2swan.m create_ww3_grid_files.m roms_getnplot_grid_rutgers.m create_ww3_wind_forcing.m s2hms.m earthdist.m set_depth.m gregorian.m stretching.m ij2ind.m swanmat2roms.m ind2ij.m sw_dist.m julian.m sw_f.m maplev.m wrf2roms_mw.m mat2roms_mw.m wrf_rename.plx narrnc2roms.m ONR

The COAWST Toolbox: mtools [~/COAWST/Tools/mfiles/mtools/]$ ls create_extra_rho_grid.m ncei_2roms.m create_roms_child_clm.m ncei_2swan.m create_roms_child_init.m netcdf_load.m create_roms_forcings.m parentchild_bathy.m create_roms_init.m parentchild_mask.m create_roms_netcdf_grid_file.m pcolorjw.m create_roms_rivers.m plot_scrip_weights.m create_roms_xygrid.m roms2swan.m create_ww3_grid_files.m roms_getnplot_grid_rutgers.m create_ww3_wind_forcing.m s2hms.m earthdist.m set_depth.m gregorian.m stretching.m ij2ind.m swanmat2roms.m ind2ij.m sw_dist.m julian.m sw_f.m maplev.m wrf2roms_mw.m mat2roms_mw.m wrf_rename.plx narrnc2roms.m ONR

The COAWST Toolbox: mtools [~/COAWST/Tools/mfiles/mtools/]$ ls create_extra_rho_grid.m ncei_2roms.m create_roms_child_clm.m ncei_2swan.m create_roms_child_init.m netcdf_load.m create_roms_forcings.m parentchild_bathy.m create_roms_init.m parentchild_mask.m create_roms_netcdf_grid_file.m pcolorjw.m create_roms_rivers.m plot_scrip_weights.m create_roms_xygrid.m roms2swan.m create_ww3_grid_files.m roms_getnplot_grid_rutgers.m create_ww3_wind_forcing.m s2hms.m earthdist.m set_depth.m gregorian.m stretching.m ij2ind.m swanmat2roms.m ind2ij.m sw_dist.m julian.m sw_f.m maplev.m wrf2roms_mw.m mat2roms_mw.m wrf_rename.plx narrnc2roms.m calculates the distance in m between two lat/lon points ONR

The COAWST Toolbox: mtools [~/COAWST/Tools/mfiles/mtools/]$ ls create_extra_rho_grid.m ncei_2roms.m create_roms_child_clm.m ncei_2swan.m create_roms_child_init.m netcdf_load.m create_roms_forcings.m parentchild_bathy.m create_roms_init.m parentchild_mask.m create_roms_netcdf_grid_file.m pcolorjw.m create_roms_rivers.m plot_scrip_weights.m create_roms_xygrid.m roms2swan.m create_ww3_grid_files.m roms_getnplot_grid_rutgers.m create_ww3_wind_forcing.m s2hms.m earthdist.m set_depth.m gregorian.m stretching.m ij2ind.m swanmat2roms.m ind2ij.m sw_dist.m julian.m sw_f.m maplev.m wrf2roms_mw.m mat2roms_mw.m wrf_rename.plx narrnc2roms.m ONR time functionality

The COAWST Toolbox: mtools [~/COAWST/Tools/mfiles/mtools/]$ ls create_extra_rho_grid.m ncei_2roms.m create_roms_child_clm.m ncei_2swan.m create_roms_child_init.m netcdf_load.m create_roms_forcings.m parentchild_bathy.m create_roms_init.m parentchild_mask.m create_roms_netcdf_grid_file.m pcolorjw.m create_roms_rivers.m plot_scrip_weights.m create_roms_xygrid.m roms2swan.m create_ww3_grid_files.m roms_getnplot_grid_rutgers.m create_ww3_wind_forcing.m s2hms.m earthdist.m set_depth.m gregorian.m stretching.m ij2ind.m swanmat2roms.m ind2ij.m sw_dist.m julian.m sw_f.m maplev.m wrf2roms_mw.m mat2roms_mw.m wrf_rename.plx narrnc2roms.m ONR vertical coordinates functionality

loads an entire netcdf file The COAWST Toolbox: mtools [~/COAWST/Tools/mfiles/mtools/]$ ls create_extra_rho_grid.m ncei_2roms.m create_roms_child_clm.m ncei_2swan.m create_roms_child_init.m netcdf_load.m create_roms_forcings.m parentchild_bathy.m create_roms_init.m parentchild_mask.m create_roms_netcdf_grid_file.m pcolorjw.m create_roms_rivers.m plot_scrip_weights.m create_roms_xygrid.m roms2swan.m create_ww3_grid_files.m roms_getnplot_grid_rutgers.m create_ww3_wind_forcing.m s2hms.m earthdist.m set_depth.m gregorian.m stretching.m ij2ind.m swanmat2roms.m ind2ij.m sw_dist.m julian.m sw_f.m maplev.m wrf2roms_mw.m mat2roms_mw.m wrf_rename.plx narrnc2roms.m loads an entire netcdf file ONR

pcolor that doesn’t clip data in interpolation The COAWST Toolbox: mtools [~/COAWST/Tools/mfiles/mtools/]$ ls create_extra_rho_grid.m ncei_2roms.m create_roms_child_clm.m ncei_2swan.m create_roms_child_init.m netcdf_load.m create_roms_forcings.m parentchild_bathy.m create_roms_init.m parentchild_mask.m create_roms_netcdf_grid_file.m pcolorjw.m create_roms_rivers.m plot_scrip_weights.m create_roms_xygrid.m roms2swan.m create_ww3_grid_files.m roms_getnplot_grid_rutgers.m create_ww3_wind_forcing.m s2hms.m earthdist.m set_depth.m gregorian.m stretching.m ij2ind.m swanmat2roms.m ind2ij.m sw_dist.m julian.m sw_f.m maplev.m wrf2roms_mw.m mat2roms_mw.m wrf_rename.plx narrnc2roms.m pcolor that doesn’t clip data in interpolation ONR

fills missing data via a filter The COAWST Toolbox: mtools [~/COAWST/Tools/mfiles/mtools/]$ ls create_extra_rho_grid.m ncei_2roms.m create_roms_child_clm.m ncei_2swan.m create_roms_child_init.m netcdf_load.m create_roms_forcings.m parentchild_bathy.m create_roms_init.m parentchild_mask.m create_roms_netcdf_grid_file.m pcolorjw.m create_roms_rivers.m plot_scrip_weights.m create_roms_xygrid.m roms2swan.m create_ww3_grid_files.m roms_getnplot_grid_rutgers.m create_ww3_wind_forcing.m s2hms.m earthdist.m set_depth.m gregorian.m stretching.m ij2ind.m swanmat2roms.m ind2ij.m sw_dist.m julian.m sw_f.m maplev.m wrf2roms_mw.m mat2roms_mw.m wrf_rename.plx narrnc2roms.m ONR fills missing data via a filter

The COAWST Toolbox: mtools [~/COAWST/Tools/mfiles/mtools/]$ ls create_extra_rho_grid.m ncei_2roms.m create_roms_child_clm.m ncei_2swan.m create_roms_child_init.m netcdf_load.m create_roms_forcings.m parentchild_bathy.m create_roms_init.m parentchild_mask.m create_roms_netcdf_grid_file.m pcolorjw.m create_roms_rivers.m plot_scrip_weights.m create_roms_xygrid.m roms2swan.m create_ww3_grid_files.m roms_getnplot_grid_rutgers.m create_ww3_wind_forcing.m s2hms.m earthdist.m set_depth.m gregorian.m stretching.m ij2ind.m swanmat2roms.m ind2ij.m sw_dist.m julian.m sw_f.m maplev.m wrf2roms_mw.m mat2roms_mw.m wrf_rename.plx narrnc2roms.m ONR

creates SWAN .bot and .grd from roms grid The COAWST Toolbox: mtools [~/COAWST/Tools/mfiles/mtools/]$ ls create_extra_rho_grid.m ncei_2roms.m create_roms_child_clm.m ncei_2swan.m create_roms_child_init.m netcdf_load.m create_roms_forcings.m parentchild_bathy.m create_roms_init.m parentchild_mask.m create_roms_netcdf_grid_file.m pcolorjw.m create_roms_rivers.m plot_scrip_weights.m create_roms_xygrid.m roms2swan.m create_ww3_grid_files.m roms_getnplot_grid_rutgers.m create_ww3_wind_forcing.m s2hms.m earthdist.m set_depth.m gregorian.m stretching.m ij2ind.m swanmat2roms.m ind2ij.m sw_dist.m julian.m sw_f.m maplev.m wrf2roms_mw.m mat2roms_mw.m wrf_rename.plx narrnc2roms.m creates SWAN .bot and .grd from roms grid ONR

The COAWST Toolbox: mtools [~/COAWST/Tools/mfiles/mtools/]$ ls create_extra_rho_grid.m ncei_2roms.m create_roms_child_clm.m ncei_2swan.m create_roms_child_init.m netcdf_load.m create_roms_forcings.m parentchild_bathy.m create_roms_init.m parentchild_mask.m create_roms_netcdf_grid_file.m pcolorjw.m create_roms_rivers.m plot_scrip_weights.m create_roms_xygrid.m roms2swan.m create_ww3_grid_files.m roms_getnplot_grid_rutgers.m create_ww3_wind_forcing.m s2hms.m earthdist.m set_depth.m gregorian.m stretching.m ij2ind.m swanmat2roms.m ind2ij.m sw_dist.m julian.m sw_f.m maplev.m wrf2roms_mw.m mat2roms_mw.m wrf_rename.plx narrnc2roms.m ONR

The COAWST Toolbox: mtools https://www.ncdc.noaa.gov/data-access/model-data/model-datasets extracts atmospheric variables from the chosen product GFS Global analysis and forecast products 2007-present NARR North American reanalysis product 1979-2014 NAM 2004-present ONR

The COAWST Toolbox: What is in it? [~/COAWST/Tools/mfiles/]$ ls inwave_tools m_map mtools roms_clm rutgers swan_forc tides ONR

The COAWST Toolbox: roms_clm [~/COAWST/Tools/mfiles/mtools/roms_clm/]$ ls create_roms_netcdf_bndry_mwUL.m roms_from_stdlev_mw.m create_roms_netcdf_clm_mwUL.m roms_master_climatology_coawst_mw.m create_roms_netcdf_init_mw.m roms_zint_mw.m dirsort.m u2rho_2d_mw.m get_ijrg.m u2rho_3d_mw.m rho2u_2d_mw.m updatbdry_coawst_mw.m rho2u_3d_mw.m updatclim_coawst_mw.m rho2v_2d_mw.m updatinit_coawst_mw.m rho2v_3d_mw.m v2rho_2d_mw.m roms_cgridpos.m v2rho_3d_mw.m roms_combine_clm_bdy.m ONR

The COAWST Toolbox: roms_clm HYCOM (Hybrid Coordinate Ocean Model) data assimilative 1/12° resolution hybrid vertical coordinates excellent source for initial, boundary, and climatology conditions ONR

The COAWST Toolbox: roms_clm HYCOM (Hybrid Coordinate Ocean Model) data assimilative 1/12° resolution hybrid vertical coordinates excellent source for initial, boundary, and climatology conditions ONR

The COAWST Toolbox: roms_clm find the lat/lon range of your grid within the HYCOM domain initialize the climatology, boundary, and initial conditions netcdf files extract HYCOM u, v, η, T, S within the lat/lon range found transform vertical coordinates calculate ubar, vbar rotate to your ROMS grid write out initial fields append climatology fields for time period and frequency requested write boundary fields ONR

The COAWST Toolbox: roms_clm [~/COAWST/Tools/mfiles/mtools/roms_clm/]$ ls create_roms_netcdf_bndry_mwUL.m roms_from_stdlev_mw.m create_roms_netcdf_clm_mwUL.m roms_master_climatology_coawst_mw.m create_roms_netcdf_init_mw.m roms_zint_mw.m dirsort.m u2rho_2d_mw.m get_ijrg.m u2rho_3d_mw.m rho2u_2d_mw.m updatbdry_coawst_mw.m rho2u_3d_mw.m updatclim_coawst_mw.m rho2v_2d_mw.m updatinit_coawst_mw.m rho2v_3d_mw.m v2rho_2d_mw.m roms_cgridpos.m v2rho_3d_mw.m roms_combine_clm_bdy.m ONR

The COAWST Toolbox: What is in it? [~/COAWST/Tools/mfiles/]$ ls inwave_tools m_map mtools roms_clm rutgers swan_forc tides ONR

The COAWST Toolbox: rutgers [~/COAWST/Tools/mfiles/rutgers/]$ ls 4dvar bin coastlines forcing initial netcdf bathymetry boundary colormaps grid landmask seawater utility ROMS-distributed toolbox ONR

The COAWST Toolbox: What is in it? [~/COAWST/Tools/mfiles/]$ ls inwave_tools m_map mtools roms_clm rutgers swan_forc tides ONR

The COAWST Toolbox: swan_forc [~/COAWST/Tools/mfiles/swan_forc/]$ ls bdry_com.m ww3gb_2TPAR.m createswan2Dspec.m ww3partition_2TPAR.m extract_and_save_WW3_partitioned_data.m ww3_specpoints.m extract_partition_data_awk_westcoast.sh ww3_swan_input.m Read_SWAN_Dspec.m WWIIIpartitioned2full2D.m ONR

The COAWST Toolbox: swan_forc NCEP WaveWatch3 Identify points along the boundary where bulk wave parameters or 2D spectra will be defined Extract either bulk wave parameters or partitioned data which will be reconstructed into spectra Write to appropriate file format for SWAN to read Provide user commands for swan.in file ONR

The COAWST Toolbox: swan_forc [~/COAWST/Tools/mfiles/swan_forc/]$ ls bdry_com.m ww3gb_2TPAR.m createswan2Dspec.m ww3partition_2TPAR.m extract_and_save_WW3_partitioned_data.m ww3_specpoints.m extract_partition_data_awk_westcoast.sh ww3_swan_input.m Read_SWAN_Dspec.m WWIIIpartitioned2full2D.m ONR

The COAWST Toolbox: What is in it? [~/COAWST/Tools/mfiles/]$ ls inwave_tools m_map mtools roms_clm rutgers swan_forc tides ONR

The COAWST Toolbox: tides [~/COAWST/Tools/mfiles/tides/]$ ls create_roms_tides.m roms_tide_forc_file.m tidal_ellipse t_tide ONR

The COAWST Toolbox: tides [~/COAWST/Tools/mfiles/tides/]$ ls create_roms_tides.m roms_tide_forc_file.m tidal_ellipse t_tide generate ADCIRC or TPXO tidal forcing ONR

The COAWST Toolbox: tides [~/COAWST/Tools/mfiles/tides/]$ ls create_roms_tides.m roms_tide_forc_file.m tidal_ellipse t_tide ONR

The COAWST Toolbox: general format for master scripts % script ww3_swan_input.m % % This script is the main driver to % download, convert and interpolate WW3 data to TPAR input for SWAN. % Written 4/23/09 by Brandy Armstrong % some mods, jcwarner Arpil 27, 2009 % added partition file call, jcw, 04Feb2019 % First, acquire the necessary grib, ascii (gz), or nc files from % ftp://polar.ncep.noaa.gov/pub/history/waves/

The COAWST Toolbox: general format for master scripts % ************* BEGIN USER INPUT **************************** % 1) Enter WORKING DIRECTORY. % This is the location of ww3 files downloaded and the % location of output for the forcing files to be created. % working_dir='F:\data\models\COAWST_tests\coawstv3.4_update\coawst_v3.4_tests\sandy\Projects\Sandy\ww3' % 2) Enter start dates of data requested. yearww3='2012'; %input year of data yyyy mmww3='10'; %input month of data mm ddww3='00'; %keep this as '00’

The COAWST Toolbox: general format for master scripts % flag for simulations that span several months. % 0 = one month, 1 = more than one month % This long run flag is only coded for TPAR files for now. long_run=0; if long_run total_number_months=2; % total number of months % (not the length of the run, but rather the number % of ww3 files) end % 3) Enter path\name of SWAN grid. This is set up to use the roms grid as the same for swan. modelgrid='F:\data\models\COAWST_tests\coawstv3.4_update\coawst_v3.4_tests\sandy\Projects\Sandy\Sandy_roms_grid.nc';

The COAWST Toolbox: general format for master scripts % 5) % Here you decide to use gridded field output (to make TPAR) or spectral partition data (to make 2Dspec). Read this: % ftp://polar.ncep.noaa.gov/pub/history/waves/multi_1/00README % Pick one of these: use_field_output=0; % will create TPAR files. use_partition_data=1; % will create 2D spec files. if (use_field_output) % Enter the ww3 grid area ww3_area='multi_1.at_10m'; %western north atlantic end if (use_partition_data) % Enter name of wave watch 3 partition file partfile='multi_1.partition.glo_30m.201210'; % *************END OF USER INPUT****************************

The COAWST Toolbox Common issues: For help: Future developments: atmospheric forcing, climatology, boundary, initial condition files file formats, variable names, etc. change over the years check THREDDS catalogs For help: ROMS forum COAWST forum email Future developments: github version control and community contribution ONR