- 08 Jan, 2013 1 commit
-
-
Pierre Cazenave authored
Add more robust code to read in a sigma.dat file (skipping comments, blank lines etc.). Also add optional argument to sample a larger number of points from the bathymetry
-
- 18 Dec, 2012 5 commits
-
-
Pierre Cazenave authored
-
Pierre Cazenave authored
-
Pierre Cazenave authored
-
Pierre Cazenave authored
-
Pierre Cazenave authored
-
- 30 Nov, 2012 2 commits
-
-
Pierre Cazenave authored
Add script to create the files needed by FVCOM when outputting a set of time series at given locations
-
Pierre Cazenave authored
-
- 26 Nov, 2012 2 commits
-
-
Pierre Cazenave authored
Fix a weird issue with the printing of the status information. This way should be more robust (if ftbverbose is empty, for example)
-
Pierre Cazenave authored
-
- 15 Nov, 2012 3 commits
-
-
Pierre Cazenave authored
Script to parse the POLPRED ASCII files and extract a specified list of harmonics. Based off the relevant functions in tide_tools.py from fvcom-py (https://bitbucket.org/pwcazenave/fvcom-py)
-
Pierre Cazenave authored
Fix two problems: 1. The date strings in Times were completely wrong (because it was assumed the values in MJD were MATLAB dates (not Modified Julian Days). Fixing that problem highlighted some possible limitations in mjulian2greg in which some second values are output as 60 (which is obviously wrong). So, some additional checks on the values of the seconds are performed, and times adjusted as necessary. 2. The Code to get the list of open boundary node IDs was a bit ugly, so I rewrote it to be a bit prettier. The old version is left in as a comment so that it can be reverted easily if necessary
-
Pierre Cazenave authored
-
- 14 Nov, 2012 3 commits
-
-
Pierre Cazenave authored
Change the boundary file generation code to expect Modified Julian Day (rather than doing the conversion blindly in the function). Also fold in the code from set_elevtide.m into this function as it was somewhat pointless having set_elevtide call write_FVCOM_elevtide
-
Pierre Cazenave authored
-
Pierre Cazenave authored
-
- 13 Nov, 2012 3 commits
-
-
Pierre Cazenave authored
Add additional variables in order to match the format specified in the FVCOM manual. Also fix the dimensions of the U and V wind vectors
-
Pierre Cazenave authored
Extend the search for the source data for the interpolation along the x-axis to two grid cells away from the SMS grid extent. This should hopefully stop any NaNs creeping in to the interpolation
-
Pierre Cazenave authored
Add check to make sure the interpolated grid is NaN-free (otherwise FVCOM will crash trying to run a model using this data)
-
- 09 Nov, 2012 7 commits
-
-
Pierre Cazenave authored
Rename the nVerts variable to nNodes to make the nomenclature match that of SMS. Also fix the dimensions of the wind vectors, heating flux and a few other variables to match the description in the FVCOM manual
-
Pierre Cazenave authored
-
Pierre Cazenave authored
Fix the creation of the boundary temperature and salinity array to be the length of the time series rather than a single value
-
Pierre Cazenave authored
-
Pierre Cazenave authored
Fix bug in creation of the NetCDF spectide file which was only revealed by running it on MATLAB 2012. The error lay in setting a two dimensional dimension when a NetCDF dimension is necessarily 1D only. This may or may not have been causing FVCOM v3.1.6 to crash
-
Pierre Cazenave authored
Write out the proper surface heat flux by combining the three relevant parameters from the NCEP data
-
Pierre Cazenave authored
Fix bug whereby the variables which do not require interpolation were not being correctly transferred
-
- 08 Nov, 2012 4 commits
-
-
Pierre Cazenave authored
-
Pierre Cazenave authored
Add the FVCOM mesh object to the function input arguments so that the number of elements and nodes can be obtained automatically
-
Pierre Cazenave authored
-
Pierre Cazenave authored
-
- 07 Nov, 2012 3 commits
-
-
Pierre Cazenave authored
Create new function to output the forcing for FVCOM (wind, heat flux and precipitation). This can be written out as three files (for FVCOM version 3.1.0) or as a single file (for FVCOM version 3.1.6)
-
Pierre Cazenave authored
Copy the geographical data from the FVCOM object into the interpolated grid (to make plotting easier). Also fix a nasty bug in which only the first variable in the input data struct was being used to interpolate the data
-
Pierre Cazenave authored
-
- 02 Nov, 2012 4 commits
-
-
Pierre Cazenave authored
-
Pierre Cazenave authored
Move the code to write the NetCDF file into a new function (write_FVCOM_forcing.m). Also improve the speed of the interpolation in two ways: 1. Use TriScatteredInterp to do the interpolation (with natural neighbour interpolation), and 2. Do the interpolation onto the element centres using their positions directly, rather than averaging the nodal values for each element. This last step significantly improved the speed of the interpolation
-
Pierre Cazenave authored
-
Pierre Cazenave authored
Make a script to extract NCEP forcing data from the OPeNDAP server. The script clips in both time and as space (and it does spatial clipping around the Greenwich meridian). Returns all the same parameters as get_ncep_L4.m, but the momentum flux is a rectangular array
-
- 30 Oct, 2012 1 commit
-
-
Pierre Cazenave authored
-
- 22 Oct, 2012 2 commits
-
-
Pierre Cazenave authored
Fix the invocation check (number of arguments) and update the variables read in from the wind struct
-
Pierre Cazenave authored
-