Move creation of the temporary file name variabel outside the check for the verbosity variable
Add closing verbose statements
Remove erroneously commented out else clause in an if statement causing the output NetCDF file to be invalid
Add more information on the progress of the rewritten variables
Add graceful failure if the model domain does not fall within the extent of the supplied time series stations
Add minor change to the formatting
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).
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
Add support for interpolating the data on alternative grids e.g. the relative humidity and sea level pressure
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
Add permanent description of the changes made last commit
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)
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
Add some extra information if verbose is set to yes to indicate how many time steps remain to be interpolated
Minor typo in the help
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)
A first attempt at writing out a mean flow NetCDF input file based on an example from Dima
Add slightly better help and fix incorrect usage of putVar with the actual supplied data array
Fix the order of the time and space arguments for the data dump to be the right way around
Change the NetCDF output file variable name and add the scaling factor for the sigma levels to the NetCDF file