small bugs in Domain (double quotes required in PolygonFromText) and landsat_mapper
Added function in Domain to reproject all GCPs to a new spatial reference system
Domain.get_border_polygon: + correction for lon > 180
domain.reproject_GCPs() now updates GCPs in both vrt and raw datasets
nansatBasemap sample code.
Made mapper also for AVHRR L1C data, and renamed old L1B mapper. Extracted calibration information also in L1B mapper, but this is not (yet) applied here, as it is probably better to work on Level 1C calibrated by AAPP.
Modified subsampling of GCPs in AVHRR mappers
Fine tuning of mapper_aapp_l1c.py
changed input parameter latlonGridSpacing to nGridLines, since it seems this is what it actually means. Also did some other internal changes that doesn't affect usage, and added a quiver function. The quiver function is not finished, and I'm not sure how to make it work so I use basemap now instead. It would anyway be nice to have a quiver function in the Figure class.
Added a check to use input srcMetadata if it was provided
added a comment to the export function
Updated generic mapper. The prefixes NC_GLOBAL#GDAL and NC_GLOBAL#GDAL_NANSAT are removed in the mapper such that the netcdf based nansat object can be treated the exact same way as the original object.
modified pixel function betasigmatoinci to work also for complex data. Result must be checked more closely but it seems to work now. The radarsat2 mapper is updated accordingly.
removed a printf
Mapper now removes PixelFunctionType items from the band metadata so that the actual data is taken from the netcdf file..
remove NC_GLOBAL# and GDAL_ and NANSAT_ from metadata tags
Nansat.mosaic: doReproject instead of reproject; Nansat.mosaic: now softly tries to get bands; mapper_obpg_l2: remove geolocation arrays and gcps with invalid lat/lon; __init__ also imports plt and np
Nansat.mosaic: destroy input image after averaging
Add nansat_map.py which creates basemap from domain.
Added satID as global metadata in avhrr_l1c and geostationary mappers