- 12 Mar, 2013 1 commit
-
-
Pierre Cazenave authored
Change 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)
-
- 11 Mar, 2013 3 commits
-
-
Pierre Cazenave authored
-
Pierre Cazenave authored
Function 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
-
Pierre Cazenave authored
-
- 01 Mar, 2013 1 commit
-
-
Pierre Cazenave authored
Finish 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)
-
- 28 Feb, 2013 7 commits
-
-
Pierre Cazenave authored
-
Pierre Cazenave authored
-
Pierre Cazenave authored
-
Pierre Cazenave authored
-
Pierre Cazenave authored
Change 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)
-
Pierre Cazenave authored
-
Pierre Cazenave authored
-
- 27 Feb, 2013 2 commits
-
-
Pierre Cazenave authored
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.
-
Pierre Cazenave authored
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.
-
- 26 Feb, 2013 6 commits
-
-
Pierre Cazenave authored
Add 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)
-
Pierre Cazenave authored
Replace 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
-
Pierre Cazenave authored
Add 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
-
Pierre Cazenave authored
-
Pierre Cazenave authored
Script 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
-
Pierre Cazenave authored
Change the NetCDF output file variable name and add the scaling factor for the sigma levels to the NetCDF file
-
- 25 Feb, 2013 2 commits
-
-
Pierre Cazenave authored
-
Pierre Cazenave authored
-
- 20 Feb, 2013 3 commits
-
-
Pierre Cazenave authored
-
Pierre Cazenave authored
First 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)
-
Pierre Cazenave authored
-
- 19 Feb, 2013 2 commits
-
-
Pierre Cazenave authored
Add some extra information if verbose is set to yes to indicate how many time steps remain to be interpolated
-
Pierre Cazenave authored
Add closing verbose function. Also save the evaporation as a separate field in the struct which is returned, should it be useful in some way
-
- 18 Feb, 2013 2 commits
-
-
Pierre Cazenave authored
The 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)
-
Pierre Cazenave authored
-
- 15 Feb, 2013 1 commit
-
-
Pierre Cazenave authored
Fix nasty bug wherein only the last field in the input struct would be written to the output NetCDF file. This is because the loop to check the current input NetCDF file variable and the list of fields to use as replacements would run through all three variables and write the data if the test was true, resulting in the earlier replacements being overwritten by the existing data. The fix is to move the writing of the existing data outside the check loop and create a new variable which is set to one once the new data have been added to the NetCDF
-
- 14 Feb, 2013 3 commits
-
-
Pierre Cazenave authored
Add support for interpolating the data on alternative grids e.g. the relative humidity and sea level pressure
-
Pierre Cazenave authored
This adds a new variable to the forcing output file (longwave surface flux) and allows the input struct to contain a new field (nshf) which is the pre-computed net surface heat flux. This approach means the flux is not calculated in here but is instead dump from the nshf variable. If this variable is not in the input struct, the old way still works. The calculation of the net surface heat flux is also fixed (the sign of the flux was the wrong way around before) based on the NCEP operational FORTRAN scripts
-
Pierre Cazenave authored
Add support for the native OPeNDAP capabilities in the netcdf tools in newer version of MATLAB. Also fix some of the issues with regards the precipitation and evaporation variables (notably setting the evaporation to P_E instead of subtracting it from the precipitation rate and setting it to P_E).
-
- 13 Feb, 2013 1 commit
-
-
Pierre Cazenave authored
-
- 12 Feb, 2013 5 commits
-
-
Pierre Cazenave authored
Add graceful failure if the model domain does not fall within the extent of the supplied time series stations
-
Pierre Cazenave authored
-
Pierre Cazenave authored
Remove erroneously commented out else clause in an if statement causing the output NetCDF file to be invalid
-
Pierre Cazenave authored
-
Pierre Cazenave authored
-
- 11 Feb, 2013 1 commit
-
-
Pierre Cazenave authored
-