Changes between Version 10 and Version 11 of WikiStart


Ignore:
Timestamp:
02/07/18 09:23:35 (6 years ago)
Author:
alafoe
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v10 v11  
    1212Le fichier '''fc_API-REST.R''' contient les fonctions suivantes :  
    1313 
    14  - download_data_in_slots           -> Download data (value of a pixel or aggregated function) over a period, using function ''download_slot'' for each slot. 
    15  - download_slot                    -> Download data (value of a pixel or aggregated function) for a given slot of the entire period. 
    16  - download_timeseries_from_raster  -> Function used by ''download_slot'' for preparing the download request for data of a pixel over the slot, using function ''download_request''. 
    17  - download_request                 -> Function used to download the request text prepared by ''download_timeseries_from_raster''. 
    18  - acquire_MAYA_data                -> Function used by ''download_slot'' for managing the download of raster data using the ''download_raster'' function. 
    19  - download_raster                  -> Function used by acquire_MAYA_data for downloading a raster (aggregation function defined in the API-INI file). 
    20  - download_altitude_of_pixel       -> Function to download the elevation value of a pixel from the metadata DEM of a given product. 
     14 || download_data_in_slots || Download data (value of a pixel or aggregated function) over a period, using function ''download_slot'' for each slot. || 
     15 || download_slot || Download data (value of a pixel or aggregated function) for a given slot of the entire period. || 
     16 || download_timeseries_from_raster || Function used by ''download_slot'' for preparing the download request for data of a pixel over the slot, using function ''download_request''. || 
     17 || download_request || Function used to download the request text prepared by ''download_timeseries_from_raster''. || 
     18 || acquire_MAYA_data || Function used by ''download_slot'' for managing the download of raster data using the ''download_raster'' function. || 
     19 || download_raster || Function used by acquire_MAYA_data for downloading a raster (aggregation function defined in the API-INI file). || 
     20 || download_altitude_of_pixel || Function to download the elevation value of a pixel from the metadata DEM of a given product. || 
    2121 
    2222Le fichier '''fc_common.R''' contient les fonction suivantes :  
    2323 
    24  - get_token             -> Manage acquisition of the token : first uses ''get_token_local'', if it fails, uses ''get_token_server'' and the saves the token with ''write_token''. 
    25  - get_token_local       -> Reads the token from the local file. 
    26  - get_token_server      -> Acquires a new token from the API-REST. 
    27  - write_token           -> Saves in the local file the newly acquire token. 
     24 || get_token || Manage acquisition of the token : first uses ''get_token_local'', if it fails, uses ''get_token_server'' and the saves the token with ''write_token''. || 
     25 || get_token_local || Reads the token from the local file. || 
     26 || get_token_server || Acquires a new token from the API-REST. || 
     27 || write_token || Saves in the local file the newly acquire token. ||  
    2828 
    29  - define_computetime    -> Date formating function 
    30  - print_elapsed_time    -> Function to print the time of a code part, with an argument for the text to be printed. 
    31  - pause_and_print       -> Function to makes a break and print that it has done a break (used in the download functions, to handle cases where API-REST does temporary not answer, for example due to a manuel restart). 
     29 || define_computetime || Date formating function || 
     30 || print_elapsed_time || Function to print the time of a code part, with an argument for the text to be printed. || 
     31 || pause_and_print || Function to makes a break and print that it has done a break (used in the download functions, to handle cases where API-REST does temporary not answer, for example due to a manuel restart). || 
    3232 
    33  - write.RSMcsv          -> Function to export data in a CSV format readable by RS MINERVE. 
     33 || write.RSMcsv  || Function to export data in a CSV format readable by RS MINERVE. || 
    3434 
    3535