1. 27 Nov, 2017 1 commit
  2. 24 Nov, 2017 2 commits
  3. 23 Nov, 2017 1 commit
  4. 18 Oct, 2017 1 commit
  5. 28 Sep, 2017 1 commit
  6. 27 Sep, 2017 2 commits
  7. 26 Sep, 2017 1 commit
  8. 25 Sep, 2017 1 commit
  9. 22 Sep, 2017 1 commit
  10. 21 Sep, 2017 1 commit
  11. 15 Sep, 2017 1 commit
  12. 30 Aug, 2017 1 commit
  13. 18 Jul, 2017 1 commit
  14. 06 Jul, 2017 1 commit
  15. 30 Jun, 2017 1 commit
  16. 01 Jun, 2017 1 commit
  17. 31 May, 2017 1 commit
    • Daniel Scheffler's avatar
      Bugfix · 3f982dec
      Daniel Scheffler authored
      - modified run_from_entityids()
      - delete_processing_results(): Fix for warning ".fuse_hidden.. remaining"
      updated __version__ and __versionalias__
      Former-commit-id: 5acce159
      Former-commit-id: 7e18bab0
  18. 24 May, 2017 1 commit
  19. 23 May, 2017 1 commit
  20. 11 Apr, 2017 1 commit
    • Daniel Scheffler's avatar
      added a first version of a console argument parser · 7d61e2de
      Daniel Scheffler authored
      - converted pyhdf import to soft import
      - GMS_JOB: fix
      - added from_entityIDlist(): dummy version
      run_at_geoms.sh / run_at_geoms_deployed.sh:
      - updated call
      - added run_from_jobid()
      - added run_from_sceneids()
      - added run_from_entityids()
      - added run_from_constraints()
      - added argument parser
      updated __version__
      Former-commit-id: e083eae3
      Former-commit-id: c8909644
  21. 30 Mar, 2017 1 commit
  22. 29 Mar, 2017 1 commit
    • Daniel Scheffler's avatar
      job status is now reset to 'pending'. · c0f057b4
      Daniel Scheffler authored
       - get_postgreSQL_value(): now replaces all " ' " with "" due to compatibility issues to postgreSQL syntax
       - update_records_in_postgreSQLdb(): now uses execute_pgSQL_query for better error reporting
       - GMS_JOB.reset_job_progress(): now resets status to 'pending'
       - status is now set to 'pending'
      - updated __version__
      Former-commit-id: c5525fec
      Former-commit-id: 2cbb0083
  23. 28 Mar, 2017 1 commit
    • Daniel Scheffler's avatar
      revised job statistics updater · 2b66ea9d
      Daniel Scheffler authored
       - added increment_decrement_arrayCol_in_postgreSQLdb()
       - GMS_JOB:
           - _populate_jobAttrs_from_sceneInfoGDF() / create(): updated statistics
           - added reset_job_progress()
           - implemented update_db_entry()
       - updated db_jobs_statistics_def
       - log_uncaught_exceptions.wrapped_GMS_mapper(): revised statistics updating scheme (now also properly working for scenes with subsystems
       - run_all_processors(): added reset of job progress in database
      - updated __version__
      Former-commit-id: 811477d3
      Former-commit-id: 0b237688
  24. 27 Mar, 2017 1 commit
    • Daniel Scheffler's avatar
      statistics column of jobs table in pgSQL database is now properly updated during processing · f65899ca
      Daniel Scheffler authored
      - added attributes 'status' and 'statistics'
      - db_entry: added docstring
      - _populate_jobAttrs_from_sceneInfoGDF(): now also sets self.statistics
      - create(): now also sets self.statistics
      - added dictionary 'db_jobs_statistics_def': added automatic de- and incrementing of scene count included in statistics column of jobs table in database
      - trace_unhandled_exceptions.wrapped_GMS_mapper():
      - updated __version__
      Former-commit-id: d5593e78
      Former-commit-id: cd1e7a26
  25. 23 Feb, 2017 1 commit
    • Daniel Scheffler's avatar
      Bugfix for issues writing MGRS tiles in case of scenes that have an overlap to... · ba54ca0f
      Daniel Scheffler authored
      Bugfix for issues writing MGRS tiles in case of scenes that have an overlap to neighbour UTM zone; added feature for job creation from scene IDs
      - get_subset_obj(): implemented keyword out_prj
      - to_MGRS_tiles(): fix for not respecting output projection
      - from_dictlist(): moved parts to _get_validated_sceneInfoGDFs() and _populate_jobAttrs_from_sceneInfoGDF()
      - added from_sceneIDlist()
      - added _get_validated_sceneInfoGDFs()
      - added _populate_jobAttrs_from_sceneInfoGDF()
      - added get_pathes_all_procdata(): not fully implemented yet
      - MAP: bugfix for ignoring CFG.job.CPUs in case CPUs is given
      - updated __version__
      Former-commit-id: 9b5925c8
      Former-commit-id: 12c9f4fe
  26. 25 Jan, 2017 2 commits
  27. 24 Jan, 2017 1 commit
    • Daniel Scheffler's avatar
      algorithms.gms_object.GMS_object: · cef2a152
      Daniel Scheffler authored
      - from_tiles(): bugfix for not updating array-dependent attributes
      - from_sensor_subsystems(): bugfix for not recreating loggers after subsystem merging
      - removed deprecated MetaObj2ODict()
      - get_subset_obj(): now operable from imBounds; fixed inconsistent attribute names
      - added to_tiles()
      - added log message
      - get_LayerbandsAssignment: bugfix
      - cut_GMS_obj_into_blocks(): now calls GMS_object.to_tiles()
      - revised cornerLonLat_to_postgreSQL_poly()
      - EPSG: bugfix
      - L1A_map_1() and L2A_map(): changed call for object conversion into tiles
      - removed /database/cloud_classifier from version controlling -> now external resource
      - updated __version__
      Former-commit-id: c9f38cb9
      Former-commit-id: 9b805282
  28. 16 Jan, 2017 1 commit
    • Daniel Scheffler's avatar
      third version of wrapper for atmospheric correction (first working version) · 6fa974e0
      Daniel Scheffler authored
      - GEOPROCESSING: conversion_type_optical value renamed from 'Ref' to 'TOA_Ref' and 'BOA_Ref'
      - added keyword 'meshwidth' to the following functions (allows much faster processing):
          - zoom_2Darray_to_shapeFullArr()
          - adjust_acquisArrProv_to_shapeFullArr()
          - get_lonlat_coord_array():revised calculation of meshgrid
          - calc_VZA_array()
          - calc_AcqTime_array()
          - calc_SZA_SAA_array()
      - calc_RAA_array(): now receives a VAA_array instead of VAA_mean
      - added attributes 'fullSceneCornerPos' and 'fullSceneCornerPos'
      - logger: added assertion
      - added property 'log'
      - added dem deleter
      - revised property 'ac_options'
      - added property 'ac_errors'
      - added property 'subset'
      - refactored attribute 'acquisition_date' to 'acq_datetime' containing a full datetime timestamp in UTC time zone
      - to_GMS_file(): updated timestamp format
      - get_MetaObj(): now also updates 'acq_datetime'
      - refactored get_MetaObj() to import_metadata()
      - included set_arr_desc_from_MetaObj() in import_metadata()
      - calc_TOARadRefTemp(): updated in the context of "conversion_type_optical" value change to 'TOA_Ref'
      - calc_cloud_mask(): temporarily excluded Sentinel-2 here; added code draft of S2A cloud mask calculation
      - calc_corner_positions(): major revision -> now calculates trueDataCornerPos/-LonLat AND fullSceneCornerPos/-LonLat
      - calc_center_AcqTime() now also updates 'acq_datetime'
      - moved _get_reference_image_params_pgSQL() and _sceneIDList_to_filt_overlap_scenes() to L1B_object
      algorithms.L1C_P.L1C_object:   -> major revision
      - added properties 'lonlat_arr', 'VZA_arr', 'VAA_arr', 'SZA_arr', 'SAA_arr', 'RAA_arr' based on get_lonlat_coord_array() and calc_acquisition_illumination_geometry()
      - removed deprecated functions get_lonlat_coord_array() and calc_acquisition_illumination_geometry()
      - revised delete_ac_input_arrays()
      - revised property 'logger'
      - metadata: added some tests
      - revised _meta_get_viewing_zenith(), _meta_get_viewing_azimuth(), _meta_get_relative_viewing_azimuth()
      - added _meta_get_aux_data()
      - added _get_dem()
      - added dummy version of _get_srf()
      - run_atmospheric_correction(): added docstring; some minor revisions
      - _join_results_to_inObjs(): now working
      - added property AcqDateTime: returns a full datetime object with UTC timezone
      - revised setters for AcqDate, AcqTime and AcqDateTime -> timezone now properly handled
      - refactored 'Meta2ODict' to 'to_meta_odict'
      - calc_center_acquisition_time(): now also sets AcqDateTime
      - get_LayerBandsAssignment(): processing level is now properly handled (in the context of missing bands after atmospheric correction)
      - renamed keyword 'trueDataCornerLonLat' to 'tgt_corners_lonlat' in the following functions:
          - get_pgSQL_geospatial_query_cond()
          - get_overlapping_scenes_from_postgreSQLdb()
          - get_overlapping_MGRS_tiles()
          - get_overlapping_MGRS_tiles2()
      - added is_dataset_provided_as_fullScene()
      - log_uncaught_exceptions:  exception handling is now optional and can be turned off via config
      - modified some docstrings
      - added property 'captured_stream' (not yet working)
      - added draft of StringIO handler (not yet working)
      - get_path_srf_file: bugfix
      - L1A_map(): updated calls
      - L1A_map_1(): updated calls
      - revised L1C_map()
      - add_local_availability(): added comments and revised structure
      - Job:
          - added attribute 'disable_exception_handler'
          - added attribute 'scale_factor_BOARef'
          - added attribute 'scale_factor_errors_ac'
          - added assertion
      - table config:
          - added fields 'scale_factor_BOARef' and 'scale_factor_errors_ac'
          - changed value of 'conversion_type_optical' to 'BOA_Ref'
      - updated __version__
  29. 11 Jan, 2017 1 commit
    • Daniel Scheffler's avatar
      second (not completely working) version of wrapper for atmospheric correction · d06523f9
      Daniel Scheffler authored
      - revised imports
      - gms_object:
          - revised imports
          - added property 'dem': gms_object can now directly provide a corresponding SRTM DEM
          - arr: bandnames of property 'arr' are now in the form [B01, .., B8A,] and correspond to LayerBandsAssignment
          - added property 'ac_options': getter or options dictionary needed for atmospheric correction
          - from_disk(): added time zone to 'acquisition_date' datetime object
      - added class failed_GMS_object (based on earlier version from helper functions)
      - revised imports
      - calc_TOARadRefTemp(): bugfix for wrong nodata value in out returned array in case of Sentinel-2
      - update_spec_vals_according_to_dtype: bugfix for not updating L1A_object.arr.nodata
      - revised imports
      - L1C_object:
          - get_lonlat_coord_array(): changed handling of return values
          - calc_acquisition_illumination_geometry(): changed handling of return values
      - AtmCorr:
          -  added attribute 'ac_input' containing input args/kwargs of atmospheric correction
          - data: now uses L1C_obj.arr.bandnames for lopping over bands
          - added property 'nodata'
          - added property 'tile_name'
          - added property 'band_spatial_sampling'
          - added property 'nodata'
          - added property 'nodata'
          - revised property 'metadata'
          - added _meta_get_spatial_samplings()
          - added _meta_get_solar_irradiance()
          - added _meta_get_viewing_zenith()
          - added _meta_get_viewing_azimuth()
          - added _meta_get_relative_viewing_azimuth()
          - revised run_atmospheric_correction()
          - revised join_results_to_inObjs()
      - revised imports
      - added 'ScaleFactor' to meta_odict
      - fixed some bad type hints
      - SRF_reader(): moved path generator functionality to path_generator
      - added open_specific_file_within_archive() (moved)
      - added get_dem_by_extent(): new function for reading SRTM DEM data and warping to a given pixel grid
      - revised imports
      - fixed some bad type hints
      - added 'ScaleFactor' to enviHdr_keyOrder
      - added __all__
      - fixed some bad type hints
      - get_overlapping_scenes_from_postgreSQLdb(): bugfix for wrong indexing
      - new module, consisting of earlier functions from helper_functions
      - new module, consisting of earlier functions from helper_functions
      - moved trace_unhandled_exceptions(), log_uncaught_exceptions() to misc.exception_handler
      - moved failed_GMS_object to gms_object
      - moved get_job_summary to process_controller
      - fixed some bad type hints
      - moved get_GMS_sensorcode(), get_mask_classdefinition(), get_outFillZeroSaturated(), get_mask_colormap() to misc.definition_dicts
      - moved open_specific_file_within_archive() to Input_reader
      - path_generator:
          - revised get_path_rawdata()
          - revised get_local_archive_path_baseN(): 'image_type' is not used anymore; removed deprecated warning
          - get_path_cloud_class_obj(): added cloud classificator files for Sentinel-2
          - added get_path_srf_file()
          - added get_path_snr_model()
          - added get_path_ac_options()
          - added get_path_ac_table()
      - revised MAP(): added new keyword 'flatten_ouput'
      - updated imports
      - revised L1C_map(): input represents one OR multiple L1B_objects belonging to the same scene_ID (atmospheric correction has to be applied to ALL subsystems of a scene at once)
      - changed some map calls due to new keyword  'flatten_ouput' of processing.multiproc.MAP
      - revised L1C_processing(): added grouping of L1B_objects by scene_ID
      - revised create_job_summary(): bugfix for emtpy input list of get_job_summary()
      - added get_job_summary(): moved from helper_functions
      - added new attributes 'path_ac_options', 'path_ac_tables', 'path_SNR_models', 'path_dem_proc_srtm_90m', 'path_ECMWF_db'
      pgSGL_db table 'config':
      - added keys 'path_SNR_models', 'path_ac_options', 'path_dem_proc_srtm_90m', 'path_ECMWF_db',  'path_ac_tables'
      - added input datasets for atmospheric correction
      - updated __version__
  30. 06 Jan, 2017 1 commit
    • Daniel Scheffler's avatar
      first (not yet working) version of wrapper for atmospheric correction · dd8f8334
      Daniel Scheffler authored
      - added some imports
       - removed deprecated code
      - removed deprecated code
      - added class 'AtmCorr': a wrapper class for atmospheric correction
      - fixed some broken type hints
      - fixed broken type hint
      - replaced deprecated function call
      - fixed some broken type hints
      - updated __version__
  31. 05 Jan, 2017 2 commits
    • Daniel Scheffler's avatar
      algorithms.gms_object.GMS_Object: · 428ee490
      Daniel Scheffler authored
      - __getstate__(): added code for deleting array attributes in order to wok around pickle object size limitation
      - added deleters for 'arr', 'mask_nodata', 'mask_clouds', 'masks'
      - fixed some broken type hints
      - correct_spatial_shifts(): bugfix for missing masks attribute in Flink mode
      - atm_corr(): bugfix for not deleting lonlat_arr
      - fixed some broken type hints
      - fixed broken type hint
      - MAP(): bugfix for not always returning a list
      - _is_inMEM(): fixed broken type hint
      - updated __version__
    • Daniel Scheffler's avatar
      major revision of previous commit; module gms_object now fully implemented;... · d48276ad
      Daniel Scheffler authored
      major revision of previous commit; module gms_object now fully implemented; fixed differences in results between Flink and Python execution mode
      - Layerstacking(): added possible bug hint; update_dataset_related_attributes() now always executed
      - get_lonlat_coord_array(): adjusted to handle GeoArray instances
      - calc_VZA_array(): adjusted to handle GeoArray instances
      - calc_SZA_SAA_array(): adjusted to handle GeoArray instances
      - calc_RAA_array(): adjusted to handle GeoArray instances
      - __init__(): added attribute 'MGRS_info'
      - renamed attribute mask_1bit to 'mask_nodata'
      - revised set_pathes()
      - revised __getstate__()
      - revised __deepcopy__()
      - revised coreg_needed()
      - added property 'resamp_needed'
      - added property 'arr'
      - added property 'mask_nodata'
      - added property 'mask_clouds'
      - added property 'masks'
      - added property 'pathGen'
      - revised attributes2dict()
      - revised from_disk()
      - revised calc_mask_nodata()
      - revised build_combined_masks_array()
      - combine_tiles_to_ObjAttr(): added DeprecationWarning
      - get_subset_obj(): adjusted to properly handle GeoArray instances
      - added to_ENVI(), based on Obj2ENVI from OUT_W
      - import_rasterdata() now also sets shape_fullArr
      - archive_to_rasObj(): bugfix for overwriting Layerstacking result
      - revised get_MetaObj()
      - removed deprecated get_shape_fullArr()
      - calc_TOARadRefTemp(): revised to properly handle GeoArray instances
      - reference_data(): revised to properly handle GeoArray instances
      - calc_cloud_mask(): revised to properly handle GeoArray instances
      - calc_corner_positions(): added assertion; now robust to different WKT string formats
      - revised add_rasterInfo_to_MetaObj()
      - update_spec_vals_according_to_dtype(): now does not set nodata value anymore (property)
      - Scene_finder:
          - ensured Python 2.7 compatibility
      - L1B_object:
          - correct_spatial_shifts(): major revision fixing some bugs
          - removed deprecated join_deshift_results()
          - removed deprecated apply_deshift_results()
      - get_lonlat_coord_array(): commented deprecated code out
      - calc_acquisition_illumination_geometry(): commented deprecated code out
      - get_DESHIFTER_configs(): some simplifications
      - removed deprecated class DESHIFTER (now fully imported from external library CoReg_Sat)
      - revised __init__()
      - moved Obj2ENVI to gms_object
      - get_job_summary(): bugfix for counting inputs given as tiles of the same sceneid multiple times
      - added __getstate__() that automatically closes loggers
      - added __setstate__()
      - adjusted output writer calls
      - L1A_map(): removed calls to get_shape_fullArr() and calc_mask_nodata()
      - L1A_map_1(): removed calls to get_shape_fullArr() and calc_mask_nodata()
      - L2A_map(): added overwrite kwarg to calc_mask_nodata()
      - removed deprecated L2A_map_1()
      - removed deprecated L2A_map_2()
      - renamed L2B_map_1 to L2B_map
      - renamed L2C_map_1 to L2C_map
      - added keyword 'db_host'
      - simplified L2A_processing()
      - create_job_summary(): bugfix for always passing L2C objects to get_job_summary() instead of highest requested processing level
      - set_config(): added keyword 'db_host'
      - Job:
          - added keyword 'db_host'
          - added attribute 'allow_subMultiprocessing'
          - database connection string is now dynamically adjusted to database host
      - updated __version__
  32. 08 Dec, 2016 1 commit
  33. 07 Dec, 2016 1 commit
    • Daniel Scheffler's avatar
      implemented "GMS_object" as parent object for all GMS objects; dissolved L0A_P... · 007965bf
      Daniel Scheffler authored
      implemented "GMS_object" as parent object for all GMS objects; dissolved L0A_P to config, and META; deleted L0B_P
      - added new module 'gms_object', based on parts of L1A_object
          - GMS_object now provides the complete basic functionality of all GMS objects in later processing levels
      - L0A_P has been dissolved/moved to config and METADATA
      - L0B_P removed (deprecated)
      - revised __init__() (L1A_object now inherits from GMS_object)
      - added import_rasterdata()
      - moved functions providing basic GMS functionality to GMS_object
      - refactored fill_from_disk() to from_disk()
      algorithms.L1B_P - L2C-P:
      - updated __init__() functions due to new object structure
      - Obj2ENVI: data_DB_updater now receives a dictionary including current state of all properties
      - added __repr__()
      - bugfix for using CFG.job.conn_database instead of self.conn
      - revised from_job_ID(): self.dataframe is now properly filled
      - failed_GMS_object now inherits from GMS_object
      - get_GMS_sensorcode() now does not need a logger anymore
      - refactored L0A_L1A_map to L1A_map and L0B_L1A_map_1 to L1A_map_1
      - revised L1A_map and L1A_map_1 according to new structure of L1A_object
      - added attribute '_DB_job_record'
      - added property 'DB_job_record'
      - removed get_data_list() (deprecated)
      - stop(): added docstring
      - L1A_processing(): edited docstring and added logger output; changed reduce call (!)
      - L1B_processing(): edited docstring and added logger output
      - L1C_processing(): edited docstring and added logger output; changed reduce call (!)
      - L2A_processing(): edited docstring and added logger output
      - L2B_processing(): edited docstring and added logger output; changed reduce call (!)
      - L2C_processing(): edited docstring and added logger output
      - Job: added attribute 'DB_job_record'
      - Usecase:
          - added attributes '_job' and 'data_list'
          - moved get_usecase_coord_grid() from top level of module here
          - added get_entity_IDs_within_AOI() from L0A_P
          - added get_data_list_of_current_jobID() from L0A_P
      - updated __version__
  34. 01 Dec, 2016 1 commit
    • Daniel Scheffler's avatar
      Flink compatibility update / major revision of process controller · 5138279d
      Daniel Scheffler authored and Mathias Peters's avatar Mathias Peters committed
      - revised config -> database must be queried once per machine
      - all modules of the package are now directly importable
      - process controller is now a Python class containing a couple of methods for running the job
      all modules:
      - revised import statements
      - replaced functions 'CFG.get_job()' and 'CFG.get_usecase()' by property 'CFG.job' and 'CFG.usecase'
      - moved MAP() to new module processing.multiproc
      - bugfix for returning 'port' instead of 'process_id'
      added new package 'processing'
      - added __init__
      - added module 'multiproc'
      - added new module 'process_controller' containing new class 'process_controller' with several methods for running the GMS job
      - revised
      - added set_config() replacing unified_config.set_config()
      - added class GMS_configuration containing properties for 'job' and 'usecase' that replace unified_config.get_job() and unified_config.get_usecase()
      - Job:
          - added attributes 'end_time' and 'computation_time'
          - revised class structure
      - Usecase:
          - revised class structure
      - removed deprecated code
      copied old version of config to config_old (still used by deprecated process_controller_for_testing)
      added run_gms.py for running GeoMultiSens process controller from console
      - updated __version__
  35. 28 Nov, 2016 1 commit
  36. 14 Oct, 2016 1 commit