{"id":346,"date":"2015-10-10T09:42:59","date_gmt":"2015-10-10T06:42:59","guid":{"rendered":"http:\/\/we.kybi\/wp\/?page_id=346"},"modified":"2015-10-10T09:42:59","modified_gmt":"2015-10-10T06:42:59","slug":"tracmass","status":"publish","type":"page","link":"https:\/\/wavelab.taltech.ee\/?page_id=346","title":{"rendered":"TRACMASS"},"content":{"rendered":"<h2>Training in TRACMASS trajectory modeling code 14-24 July 2009<\/h2>\n<p>The Institute of Cybernetics (IoC) and the Department of Meteorology, University of Stockholm (MISU) organized a two-week intensive course about the TRACMASS trajectory simulation system in the framework of Work Package 3 of the BalticWay project. This software, developed mainly by Kristofer D\u00f6\u00f6s (MISU), is the project&#8217;s key tool for analyzing the patterns of current-induced transport of water particles and pollution based on precomputed data from circulations models for the Baltic Sea.<\/p>\n<p>The <span class=\"link-external\"><a href=\"http:\/\/doos.misu.su.se\/tracmass\/\">TRACMASS code<\/a><\/span> calculates Lagrangian trajectories of fluid particles in the ocean or atmosphere. The analysis is carried out off-line, i.e. after a relevant circulation model has been integrated and the velocity fields have been stored. This makes it possible to calculate many more trajectories than what could be done simultaneously with the circulation models.<\/p>\n<p>The code was originally written in Fortran 77 for the FRAM ocean model at the Institute of Oceanographic Sciences, Deacon Laboratory (IOSDL) in Wormley (UK) in the early 1990\u2019s. TRACMASS has been set up to run with velocities integrated with a number of different ocean and atmosphere models. The system is based on papers by D\u00f6\u00f6s (1995), Blanke and Raynaud (1997) and Vries and D\u00f6\u00f6s (2001) and has been further developed during the years and used in many studies.<\/p>\n<p>&nbsp;<\/p>\n<h3>TRACMASS for the BalticWay team<\/h3>\n<p>\u00a0\u00a0<br \/>The training was performed under the guidance of Anders Anbo (MISU) who visited the Wave Engineering Laboratory at IoC for a two-week period in July 2009. The members of the IoC BalticWay team Nicole Delpeche, Raul Isotamm and Bert Viikm\u00e4e participated in the entire course while IoC PhD students Inga Zaitseva-P\u00e4rnaste and Loreta Kelp\u0161aite took part in the basic training.<\/p>\n<p>The topics covered during the training course were:<\/p>\n<ul>\n<li>\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0 <strong>Installation of TRACMASS on different operating systems<br \/><\/strong><\/li>\n<\/ul>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 such as a Unix cluster, Linux\u00a0systems and Windows machines. Since TRACMASS is\u00a0intended to be used on Unix machines, Cygwin was\u00a0used to simulate a Unix-like environment under\u00a0Windows. For TRACMASS to work in Cygwin, use of\u00a0the unzipping program gunzip had to be changed to\u00a0gzip in order to make it work. This was performed with the readfields.f95 subroutine].<\/p>\n<ul>\n<li>\u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0 <strong>The theory for the calculation of trajectories<\/strong><\/li>\n<\/ul>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 and the foundations of TRACMASS. This included a\u00a0short introduction into the basic principles of\u00a0general circulation models, the finite difference method\u00a0and the governing equations. Different applications were also introduced.<\/p>\n<ul>\n<li>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <strong>Detailed instructions on how to launch<\/strong><\/li>\n<\/ul>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 and handle the TRACMASS system and how to prescribe\u00a0and adjust the most important variables in the\u00a0script files before starting a trajectory\u00a0simulation. In particular, it was discussed in detail how to submit the\u00a0seeding position, the number of seeded trajectories,\u00a0the number of time step- or day iterations and\u00a0input\/output directories.<\/p>\n<ul>\n<li>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <strong>The possibilities for the organization<\/strong><\/li>\n<\/ul>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 and use of the output data of the simulations and the\u00a0structure of the data files, including examples <br \/>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 of how the data could be visualized using the Matlab environment.<\/p>\n<ul>\n<li>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<strong> An introduction into the basic syntax<\/strong><\/li>\n<\/ul>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 and structure of the Fortran programming language such as the use of subroutines and modules, declaring variables and the use of multidimensional arrays.<\/p>\n<ul>\n<li>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <strong>Introduction into the basics of the usage<\/strong><\/li>\n<\/ul>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 of Fortran-based systems under different operational systems. This section covered more specific topics such as the usage of Makefile and the important flag options that set the conditions of a simulation, like the diffusion or twodim flags.<\/p>\n<ul>\n<li>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <strong>Insight into the TRACMASS Fortran code<\/strong><\/li>\n<\/ul>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 and an introduction into the code structure of most of\u00a0 the files included in TRACMASS such as the main-,\u00a0 loop-, readfields-, cross- and pos-file. All the important loops in the loop file and the purpose of the loops were explained in some detail.<\/p>\n<ul>\n<li>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <strong>How to extract more information<\/strong><\/li>\n<\/ul>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 from the archived results of the circulation model data, e.g. temperature and salinity.<\/p>\n<ul>\n<li>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 <strong>Techniques for the visualization<\/strong><\/li>\n<\/ul>\n<p>\u00a0 \u00a0\u00a0 \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 of the output data in the Matlab environment.<\/p>\n<p>The entire course consisted of approximately 48 academic contact hours for each participant and about 32 hours of individual work.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Training in TRACMASS trajectory modeling code 14-24 July 2009 The Institute of Cybernetics (IoC) and the Department of Meteorology, University of Stockholm (MISU) organized a two-week intensive course about the TRACMASS trajectory simulation system in the framework of Work Package 3 of the BalticWay project. This software, developed mainly by Kristofer D\u00f6\u00f6s (MISU), is the project&#8217;s key tool for analyzing &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-346","page","type-page","status-publish","hentry","archive-loop-container"],"_links":{"self":[{"href":"https:\/\/wavelab.taltech.ee\/index.php?rest_route=\/wp\/v2\/pages\/346","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wavelab.taltech.ee\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/wavelab.taltech.ee\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/wavelab.taltech.ee\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wavelab.taltech.ee\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=346"}],"version-history":[{"count":0,"href":"https:\/\/wavelab.taltech.ee\/index.php?rest_route=\/wp\/v2\/pages\/346\/revisions"}],"wp:attachment":[{"href":"https:\/\/wavelab.taltech.ee\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}