= MINERVE-D3 = Le projet TRAC `MINERVE-D3` correspond aux développements informatiques réalisés dans le cadre de la thèse MINERVE d'Alain Foehn. Un certain nombre d'outils, présentés ci-dessous, ont été développés. [[BR]] La plupart des outils intéragissent directement avec la base de données MAYA et dans une moindre mesure avec la base de données MINERVE. Les fonctions permettant cette intéraction on été regroupées dans le dossier {{{ MINERVE-D3\Code }}} Le fichier fc_API-REST.R contient les fonctions suivantes : - download_data_in_slots -> Download data (value of a pixel or aggregated function) over a period, using function ''download_slot'' for each slot. - download_slot -> Download data (value of a pixel or aggregated function) for a given slot of the entire period. - 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''. - download_request -> Function used to download the request text prepared by ''download_timeseries_from_raster''. - acquire_MAYA_data -> Function used by ''download_slot'' for managing the download of raster data using the ''download_raster'' function. - download_raster -> Function used by acquire_MAYA_data for downloading a raster (aggregation function defined in the API-INI file). - download_altitude_of_pixel -> Function to download the elevation value of a pixel from the metadata DEM of a given product. Le fichier fc_common contient les fonction suivantes : - 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''. - get_token_local -> Reads the token from the local file. - get_token_server -> Acquires a new token from the API-REST. - write_token -> Saves in the local file the newly acquire token. - define_computetime -> Date formating function - print_elapsed_time -> Function to print the time of a code part, with an argument for the text to be printed. - 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). - write.RSMcsv -> Function to export data in a CSV format readable by RS MINERVE. == Combi-Valais == Outil de spatialisation {{{ #!div style="margin-top:3em; width:95%;border:1px solid #cccccc;" }}} [[span(Personne(s) de contact:,style=font-weight:bold;)]] [mailto:alain.foehn@crealp.ch?subject=Projet%20MINERVE-D3%20sur%20Trac alafoe] {{{ #!div style="width:95%;border:1px solid #cccccc;" }}} Autres projets: [http://trac.crealp.ch/Crealp-Admin/wiki Crealp-Admin], [http://trac.crealp.ch/Crealp-API/wiki Crealp-API], [http://trac.crealp.ch/polhydro-bulletin/wiki MINERVE-bulletin], [http://trac.crealp.ch/polhydro-pcr/wiki polhydro-pcr], [http://trac.crealp.ch/polhydro-rest/wiki MINERVE-rest], [http://trac.crealp.ch/polhydro-scripts/wiki MINERVE-scripts], [http://trac.crealp.ch/polhydro-www/wiki MINERVE-www], [http://trac.crealp.ch/Ofev-CC/wiki Ofev-CC], [http://trac.crealp.ch/RSDataset/wiki RSDataset], [http://trac.crealp.ch/RSMinerve/wiki RSMinerve], [http://trac.crealp.ch/SnowMapping/wiki SnowMapping], [https://trac.crealp.ch/S.T.R.E.S.S/wiki S.T.R.E.S.S], [http://trac.crealp.ch/TeREsA/wiki TeREsA], [https://trac.crealp.ch/toolmap2/wiki ToolMap 2], [http://trac.crealp.ch/VIVA/wiki VIVA]