fvcom-toolbox:fae854db8afca90c3fa637b88695ba3a8d84da32 commitshttps://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commits/fae854db8afca90c3fa637b88695ba3a8d84da322013-03-19T11:03:02+00:00https://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commit/fae854db8afca90c3fa637b88695ba3a8d84da32Add support for specifying a minimum angle between the two element edges...2013-03-19T11:03:02+00:00Pierre Cazenavepwcazenave@gmail.comAdd support for specifying a minimum angle between the two element edges adjacent to each node in the open boundary. This means that nodes at the corners of open boundaries or adjacent to land can be more easily eliminated from the analysis
https://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commit/32ce08936e3a284a455068416dad4075c393cd8dEnable all warnings in the functions rather than have things fail silently2013-03-18T17:21:48+00:00Pierre Cazenavepwcazenave@gmail.comhttps://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commit/0cf78624b16c371fdc1dd309008f8759ab97d4ceFix the verbosity of the output when writing the new time data (so it actuall...2013-03-18T17:20:59+00:00Pierre Cazenavepwcazenave@gmail.comFix the verbosity of the output when writing the new time data (so it actually works). Also stop writing the new time data if it has already been written once
https://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commit/b56ea3b81ddfe873819084f120e09c2fd61275cfAdd official support for rewriting the time ot the output restart file. This...2013-03-15T12:16:37+00:00Pierre Cazenavepwcazenave@gmail.comAdd official support for rewriting the time ot the output restart file. This is useful if you want to use a restart file from a model run whose time does not overlap with the new time period
https://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commit/d4313ed5fa6bcd96293f8a9155fe0f170dc9c0c0Fix bug whereby the first node ID in each line was being omitted causing...2013-03-15T12:15:45+00:00Pierre Cazenavepwcazenave@gmail.comFix bug whereby the first node ID in each line was being omitted causing errors in the resulting 2dm file, particularly if the node string has only two points
https://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commit/c20b44de4522cfe6d43aa1c266adc5b14459ec12Fix the identification of a uniform sponge layer width2013-03-15T12:14:52+00:00Pierre Cazenavepwcazenave@gmail.comhttps://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commit/0e7f3570d3bf93f9e6a47c10e286fc3046e283daFix the identification of a uniform sponge layer width2013-03-15T12:14:40+00:00Pierre Cazenavepwcazenave@gmail.comhttps://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commit/e36b849b728a4763e09794186399f40f274cb8beMake the example usage more useful2013-03-13T15:46:27+00:00Pierre Cazenavepwcazenave@gmail.comhttps://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commit/e37f7b08fcb9cba094ef79f19d1fff03a9ac4580Make the example usage actually vaguely useful and change the mesh name to...2013-03-13T15:46:11+00:00Pierre Cazenavepwcazenave@gmail.comMake the example usage actually vaguely useful and change the mesh name to something more traditional (mesh)
https://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commit/466833ad8f6dbb1a6766443fcfd9bdf684c64211Add support for the surface elevation open boundary node file _elj_obc.dat...2013-03-13T15:45:29+00:00Pierre Cazenavepwcazenave@gmail.comAdd support for the surface elevation open boundary node file _elj_obc.dat (which is almost the same as tide_el.dat, but hey ho). Also make the error messages clearer and adjust the formatting statements to match what Dima has in his script
https://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commit/cedca07e07e92992662dc71a331f19472d40ac6fTool to export a triangulation to an SMS 2dm formatted file. This can then be...2013-03-12T10:33:42+00:00Pierre Cazenavepwcazenave@gmail.comTool to export a triangulation to an SMS 2dm formatted file. This can then be opened in SMS to check the optimisation performed by fix_inside_boundary and fix any newly introduced poor quality elements
https://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commit/c1bd25b3514f6ab8fa2e998e3a1a67e57e769d73Fix example usage in the help2013-03-12T10:32:05+00:00Pierre Cazenavepwcazenave@gmail.comhttps://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commit/67b092484b1f67b3213f4169f741ed33a121465bChange the code which identifies nodes just inside the model open boundaries...2013-03-12T10:31:44+00:00Pierre Cazenavepwcazenave@gmail.comChange the code which identifies nodes just inside the model open boundaries to adjust their positions instead of creating a new array of 'ideal' positions. This means the tool now performs an optimisation on the unstructured grid rather than being a tool which simply provides a set of points which can be used in SMS to try and guide the triangulation (which I discovered does not work)
https://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commit/e3409693d89c15d069369c10edb64e05d01335baAdd script to output a series of coordinates to a CST file for use in SMS2013-03-11T14:44:17+00:00Pierre Cazenavepwcazenave@gmail.comhttps://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commit/777c17668be04d7ea8c1ced4f3f3d7152f7a3f0eFunction to find points inside an open boundary which are approximately norma...2013-03-11T14:43:53+00:00Pierre Cazenavepwcazenave@gmail.comFunction to find points inside an open boundary which are approximately normal to the boundary. This is useful if you want to force the unstructured grid to have elements with a right angle in them along the open boundary
https://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commit/b5979863a3ea54c16119070de89eac51cc6c32b7Add slightly more robust input variable checks2013-03-11T14:42:23+00:00Pierre Cazenavepwcazenave@gmail.comhttps://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commit/f56b39db319c7b6345ab2d256def86842b7be88dFinish the code to output the mean flow ASCII files and modify the inputs to...2013-03-01T18:26:17+00:00Pierre Cazenavepwcazenave@gmail.comFinish the code to output the mean flow ASCII files and modify the inputs to only require the depth distributed horizontal velocity components (rather than separate arrays of the depth averaged ones. We can calculate depth averaged from the depth distributed values)
https://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commit/ee984088ec6e68ee75400b895470d9e2b7300bd6Remove some duplicated code and tidy up the output of the u and v file to mat...2013-02-28T17:09:54+00:00Pierre Cazenavepwcazenave@gmail.comhttps://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commit/7a6ab3ae586aa00a45143bfdf8afac0618cb70f2Add support for multiple open boundaries (in principle)2013-02-28T17:09:11+00:00Pierre Cazenavepwcazenave@gmail.comhttps://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commit/e4de723c6fcab8b19111c26379728a34652e0152Fix the creation of the velocity field to use all time steps instead of just ...2013-02-28T17:07:46+00:00Pierre Cazenavepwcazenave@gmail.comhttps://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commit/aecd59cb704b541d68aecf22704135b163731de1Transfer output from open boundary nodes to open boundary elements2013-02-28T14:36:49+00:00Pierre Cazenavepwcazenave@gmail.comhttps://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commit/836f5825a4d76e2bc0878a3c0335752324cd51f2Change the interpolation to occur at the boundary nodes to the centroid of th...2013-02-28T14:36:05+00:00Pierre Cazenavepwcazenave@gmail.comChange the interpolation to occur at the boundary nodes to the centroid of the boundary elements (since FVCOM work on velocities at the centre of each element)
https://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commit/673d65d202fb2633a034aee0f139e99b75b2e327Add new output which stores the number of elements in each model boundary2013-02-28T14:34:22+00:00Pierre Cazenavepwcazenave@gmail.comhttps://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commit/ad02aca7f3246d23f36bedd4a08bc4e6c3bcf87dCosmetic changes to better match the format of the other functions2013-02-28T14:33:53+00:00Pierre Cazenavepwcazenave@gmail.comhttps://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commit/85154e0b82a1dd681d3f6402c8fe81f614e070edBig changes here:2013-02-27T15:55:27+00:00Pierre Cazenavepwcazenave@gmail.com
1. Do the vertical interpolation of the u and v components separately then at the end calculate the depth averaged velocity as well as the depth averaged u and v components into separate fields in Mobj. This is all necessary for outputting the ASCII files for mean flow and the open boundaries.
2. Make the vertical interpolation scale the POLCOMS-ERSEM depth range to match the current FVCOM node's depth range, thus squeezing or stretching the vertical velocity profiles into the FVCOM depth.
3. Add a commented out section which can be used to plot the vertical profiles to make sure they have interpolated correctly.https://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commit/7b3cfce05b564d896de1011fce639e4e938a83e4Two things:2013-02-27T15:51:49+00:00Pierre Cazenavepwcazenave@gmail.com
1. Remove the totally unnecessary loop iterating through the vertical levels on the vertical interpolation secion. No idea what that was doing there.
2. Change the interpolation of the vertical profiles to scale the POLCOMS depths to the current FVCOM node's depth range. This means the full profile structure is maintained in the interpolated profiles but that it is squashed or stretched to fit the scaled depths. This also means the surface and seabed value are fully captured.https://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commit/e35c670534a49edc868e0ad94f3c7dc3b1f15bc4Add support for writing out the boundary element ID file...2013-02-26T17:37:52+00:00Pierre Cazenavepwcazenave@gmail.comAdd support for writing out the boundary element ID file (casename_tide_cell.dat) and the first stab at the velocity components (casename_tide_uv.dat)
https://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commit/b3693262f8863489cfcfb2433a898231660ee2d8Replace the interpolation of a single velocity with the interpolation of the...2013-02-26T17:36:55+00:00Pierre Cazenavepwcazenave@gmail.comReplace the interpolation of a single velocity with the interpolation of the original u and v components and instead calculate the velocity at the end. This means the ASCII files needed for the mean flow can more easily be generated
https://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commit/81aa9cb35e961e09b4f4d6d723bea62ae5c85aaaAdd function to find the elements which fall along the open boundaries within...2013-02-26T16:39:53+00:00Pierre Cazenavepwcazenave@gmail.comAdd function to find the elements which fall along the open boundaries within the model unstructured grid. This is useful if you plan to use the mean flow tool write_FVCOM_meanflow_ascii) which requires an array of the elements along the open boundary
https://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commit/4f3afe917e8f40880c61809444d8a63d54f40c4cFix some naming issues2013-02-26T16:38:53+00:00Pierre Cazenavepwcazenave@gmail.comhttps://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commit/e9ebb15ab5a0ba4a7445ca7e01981016b5e74d06Script to create the ASCII files necessary for a mean flow model run. Some of...2013-02-26T12:14:02+00:00Pierre Cazenavepwcazenave@gmail.comScript to create the ASCII files necessary for a mean flow model run. Some of these files will be dummy files (e.g. the uv file) and filled with zeros
https://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commit/9a32c6563b3dc405a43ca258ab666f24b4025acdChange the NetCDF output file variable name and add the scaling factor for th...2013-02-26T12:13:06+00:00Pierre Cazenavepwcazenave@gmail.comChange the NetCDF output file variable name and add the scaling factor for the sigma levels to the NetCDF file
https://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commit/fefb97b69c76e8cccf8902b54da4174694dfb0bfFix the order of the time and space arguments for the data dump to be the rig...2013-02-25T09:38:01+00:00Pierre Cazenavepwcazenave@gmail.comhttps://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commit/c7319f15116ed7ff75f07a29611ace7d610f05eeAdd slightly better help and fix incorrect usage of putVar with the actual su...2013-02-25T09:13:05+00:00Pierre Cazenavepwcazenave@gmail.comhttps://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commit/16e550e6e44d69b65a86589bfd6680e78bd74617A first attempt at writing out a mean flow NetCDF input file based on an exam...2013-02-20T17:22:22+00:00Pierre Cazenavepwcazenave@gmail.comhttps://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commit/25cc1f95a74a7201b77e489f52934d1805b7c0fdFirst stab at getting mean flow velocity out of the POLCOMS daily averaged...2013-02-20T16:14:50+00:00Pierre Cazenavepwcazenave@gmail.comFirst stab at getting mean flow velocity out of the POLCOMS daily averaged results. This may need refining to better handle the depth issue (at the moment the flows are depth average because it seems FVCOM only wants depth averaged values with some scaling factor)
https://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commit/1d332bb84d03dbeb7649cc691b6eacc12fccf113Minor typo in the help2013-02-20T16:13:33+00:00Pierre Cazenavepwcazenave@gmail.comhttps://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commit/ca89e444651193bc881fe3f79afe7f01695a8063Add some extra information if verbose is set to yes to indicate how many time...2013-02-19T14:01:32+00:00Pierre Cazenavepwcazenave@gmail.comAdd some extra information if verbose is set to yes to indicate how many time steps remain to be interpolated
https://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commit/14fe877f96069a9b58b5e5d2dd39b9ca0d229d58Add closing verbose function. Also save the evaporation as a separate field i...2013-02-19T14:00:41+00:00Pierre Cazenavepwcazenave@gmail.comAdd closing verbose function. Also save the evaporation as a separate field in the struct which is returned, should it be useful in some way
https://gitlab.ecosystem-modelling.pml.ac.uk/fvcom/fvcom-toolbox/-/commit/6c82e06a8d19dbb21a275dab80fbdf6f1e96df4cThe shortwave radiation was being ignored when the function was given...2013-02-18T16:15:41+00:00Pierre Cazenavepwcazenave@gmail.comThe shortwave radiation was being ignored when the function was given precomputed surface heat flux. This fixes that error and has been tested on both precomputed surface flux and component flux (i.e. longwave + shortwave + latent + sensible)