Updated version of develop branch of nansencenter/openwind
Re-added model_wind.py, and deleted download_NCEP_GFS.py
Added basic land mask to plot function.
Moved reprojection of wind from model_wind to sar_wind, otherwise ModelWind objects are recreated from filename when input til SARWind class. Set wind as first argument to ModelWind constructor, as filename or Nansat object are sufficient arguments, whereas time is not (must be accompanied by a domain)
Implemented land mask and ice mask functionality in plot function, based on new Nansat mapper for myocean high resolution (1 km) Arctic ice mask (mapper_metno_hires_seaice.py)
Wind vectors now scaled with model speed in plot function.
Disabled runtime warnings in cmod (when calculating wind over land), and cleaned openwind terminal output
Updated plotting function to use local netCDF files with ice mask, as alternative to using Thredds
Extracted creation of masked wind array from plot function, to be reused in new function to write geotiff image (which may be reprojected)
Update README.md
If python <=2.6, avoid total_seconds().
Add parameters in save_wind_map_image()
add eResampleAlg option in SARWind construction.
add 'time' metadata to U and V bands
As both ASAR and Radarsat2 mappers now have bands with SAR look direction, this calculation is removed from openwind. Plotting function is improved, now with colorbar
Merge branch 'master' of https://github.com/knutfrode/openwind
updated flipping in plot-function (different grid orientations in ASAR and RS2) and changed call to nansatmap.pcolormesh function
merged with origin/develop and fixed some issues with the save_wind_map_image function
SARWind objects can now be generated both from filename and from input Nansat objects
SARWind now can take mapper name (eventually + time string YYYYmmddHHMM) as alternative to Nansat filename containing wind direction. This eliminates need for ModelWind module/class, which is functionally replaced by new Nansat mapper mapper_ncep_wind_online.py