{"id":1418,"date":"2022-10-17T08:29:53","date_gmt":"2022-10-17T08:29:53","guid":{"rendered":"https:\/\/sarai.igme.es\/?p=1418"},"modified":"2022-10-17T09:03:16","modified_gmt":"2022-10-17T09:03:16","slug":"tool-to-obtain-time-series-of-piezometry-and-precipitation-from-1950-to-2020-respectively-and-directly-from-miteco-and-aemet-for-any-point-in-spain-in-the-iberian-peninsula-and-the","status":"publish","type":"post","link":"https:\/\/sarai.igme.es\/index.php\/tool-to-obtain-time-series-of-piezometry-and-precipitation-from-1950-to-2020-respectively-and-directly-from-miteco-and-aemet-for-any-point-in-spain-in-the-iberian-peninsula-and-the\/","title":{"rendered":"Tool to obtain time series of piezometry and \u00a0precipitation from \u00a01950 to 2020 (respectively and directly from MITECO and AEMET) for any point in Spain in the \u00a0Iberian Peninsula and the Balearic Islands"},"content":{"rendered":"\n<p>From the <strong>SARAI<\/strong> project <a href=\"https:\/\/sarai.igme.es\">&nbsp;we have https:\/\/sarai.igme.es<\/a> developed a tool in <strong><em>Jupyter Notebook<\/em><\/strong> format that allows reading data directly from the websites of the AEMET and the General Directorate of Water, extracting for a list of coordinates the rainfall and piezometry series at a distance of 5 km or less for each of the points listed.<\/p>\n\n\n\n<p>The notebook, written in Python by <strong>C\u00e9sar Husillos Rodr\u00edguez<\/strong> (<strong>IGME-CSIC),<\/strong> can be downloaded from GitHub with the following link: <a href=\"https:\/\/github.com\/cesarhusrod\/sarai_piezo_precip\">https:\/\/github.com\/cesarhusrod\/sarai_piezo_precip<\/a><\/p>\n\n\n\n<p>It should be referenced with the following doi: 10.5281\/zenodo.7197288<\/p>\n\n\n\n<p>This tool is very useful in any hydrogeological study in which piezometry and precipitation data are interested from the year1950 to the year in which it is available on the websites, currently the year 2020. The main advantage of this tool is that the daily data interpolated by the AEMET can be used directly in a 5 km (https:\/\/www.aemet.es\/es\/serviciosclimaticos\/cambio_climat\/datos_diarios?w=2&amp;w2=0) mesh<a href=\"https:\/\/www.aemet.es\/es\/serviciosclimaticos\/cambio_climat\/datos_diarios?w=2&amp;w2=0\"><\/a>. With the help of the script, these daily series in the locations near our points of interest are downloaded in an easy-to-read ascii file (extension .csv).<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/sarai.igme.es\/wp-content\/uploads\/todos_nodos_precipitacion_y_localizaciones_de_muestreo.png\"><img decoding=\"async\" width=\"1024\" height=\"886\" src=\"https:\/\/sarai.igme.es\/wp-content\/uploads\/todos_nodos_precipitacion_y_localizaciones_de_muestreo-1024x886.png\" alt=\"Complete distribution of precipitation nodes and sampling points\" class=\"wp-image-1415\" srcset=\"https:\/\/sarai.igme.es\/wp-content\/uploads\/todos_nodos_precipitacion_y_localizaciones_de_muestreo-1024x886.png 1024w, https:\/\/sarai.igme.es\/wp-content\/uploads\/todos_nodos_precipitacion_y_localizaciones_de_muestreo-300x259.png 300w, https:\/\/sarai.igme.es\/wp-content\/uploads\/todos_nodos_precipitacion_y_localizaciones_de_muestreo-150x130.png 150w, https:\/\/sarai.igme.es\/wp-content\/uploads\/todos_nodos_precipitacion_y_localizaciones_de_muestreo-768x664.png 768w, https:\/\/sarai.igme.es\/wp-content\/uploads\/todos_nodos_precipitacion_y_localizaciones_de_muestreo-1536x1328.png 1536w, https:\/\/sarai.igme.es\/wp-content\/uploads\/todos_nodos_precipitacion_y_localizaciones_de_muestreo-2048x1771.png 2048w, https:\/\/sarai.igme.es\/wp-content\/uploads\/todos_nodos_precipitacion_y_localizaciones_de_muestreo-500x432.png 500w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption><em>Complete distribution of precipitation nodes and sampling points<\/em><\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/sarai.igme.es\/wp-content\/uploads\/piezometros_registrados_y_puntos_de_muestreo-e1665996643398.png\"><img decoding=\"async\" width=\"1024\" height=\"810\" src=\"https:\/\/sarai.igme.es\/wp-content\/uploads\/piezometros_registrados_y_puntos_de_muestreo-e1665996643398-1024x810.png\" alt=\"Distribution of recorded piezometers and sampling points\" class=\"wp-image-1425\" srcset=\"https:\/\/sarai.igme.es\/wp-content\/uploads\/piezometros_registrados_y_puntos_de_muestreo-e1665996643398-1024x810.png 1024w, https:\/\/sarai.igme.es\/wp-content\/uploads\/piezometros_registrados_y_puntos_de_muestreo-e1665996643398-300x237.png 300w, https:\/\/sarai.igme.es\/wp-content\/uploads\/piezometros_registrados_y_puntos_de_muestreo-e1665996643398-150x119.png 150w, https:\/\/sarai.igme.es\/wp-content\/uploads\/piezometros_registrados_y_puntos_de_muestreo-e1665996643398-768x607.png 768w, https:\/\/sarai.igme.es\/wp-content\/uploads\/piezometros_registrados_y_puntos_de_muestreo-e1665996643398-1536x1215.png 1536w, https:\/\/sarai.igme.es\/wp-content\/uploads\/piezometros_registrados_y_puntos_de_muestreo-e1665996643398-2048x1619.png 2048w, https:\/\/sarai.igme.es\/wp-content\/uploads\/piezometros_registrados_y_puntos_de_muestreo-e1665996643398-500x395.png 500w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption><em>Distribution of recorded piezometers and sampling points<\/em><\/figcaption><\/figure>\n\n\n\n<p>In the same way it can be done with the piezometry data collected by the General Directorate of Water (<a href=\"https:\/\/www.miteco.gob.es\/es\/cartografia-y-sig\/ide\/descargas\/agua\/default.aspx\">https:\/\/www.miteco.gob.es\/es\/cartografia-y-sig\/ide\/descargas\/agua\/default.aspx<\/a>). In this case, the longest piezometric series is obtained, measured in a radius around the coordinates of interest. This radius is, by default, 5 km, but can be changed in the tool&#8217;s parameter configuration file.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>From the SARAI project &nbsp;we have https:\/\/sarai.igme.es developed a tool in Jupyter Notebook format that allows reading data directly from the websites of the AEMET and the General Directorate of Water, extracting for a list of coordinates the rainfall and piezometry series at a distance of 5 km or less for each of the points [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1425,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[19],"tags":[],"class_list":["post-1418","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"featured_image_src":"https:\/\/sarai.igme.es\/wp-content\/uploads\/piezometros_registrados_y_puntos_de_muestreo-e1665996643398.png","author_info":{"display_name":"saraiadm","author_link":"https:\/\/sarai.igme.es\/index.php\/author\/saraiadm\/"},"uagb_featured_image_src":{"full":["https:\/\/sarai.igme.es\/wp-content\/uploads\/piezometros_registrados_y_puntos_de_muestreo-e1665996643398.png",2050,1621,false],"thumbnail":["https:\/\/sarai.igme.es\/wp-content\/uploads\/piezometros_registrados_y_puntos_de_muestreo-e1665996643398-150x119.png",150,119,true],"medium":["https:\/\/sarai.igme.es\/wp-content\/uploads\/piezometros_registrados_y_puntos_de_muestreo-e1665996643398-300x237.png",300,237,true],"medium_large":["https:\/\/sarai.igme.es\/wp-content\/uploads\/piezometros_registrados_y_puntos_de_muestreo-e1665996643398-768x607.png",768,607,true],"large":["https:\/\/sarai.igme.es\/wp-content\/uploads\/piezometros_registrados_y_puntos_de_muestreo-e1665996643398-1024x810.png",1024,810,true],"1536x1536":["https:\/\/sarai.igme.es\/wp-content\/uploads\/piezometros_registrados_y_puntos_de_muestreo-e1665996643398-1536x1215.png",1536,1215,true],"2048x2048":["https:\/\/sarai.igme.es\/wp-content\/uploads\/piezometros_registrados_y_puntos_de_muestreo-e1665996643398-2048x1619.png",2048,1619,true]},"uagb_author_info":{"display_name":"saraiadm","author_link":"https:\/\/sarai.igme.es\/index.php\/author\/saraiadm\/"},"uagb_comment_info":0,"uagb_excerpt":"From the SARAI project &nbsp;we have https:\/\/sarai.igme.es developed a tool in Jupyter Notebook format that allows reading data directly from the websites of the AEMET and the General Directorate of Water, extracting for a list of coordinates the rainfall and piezometry series at a distance of 5 km or less for each of the points&hellip;","_links":{"self":[{"href":"https:\/\/sarai.igme.es\/index.php\/wp-json\/wp\/v2\/posts\/1418","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sarai.igme.es\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sarai.igme.es\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sarai.igme.es\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sarai.igme.es\/index.php\/wp-json\/wp\/v2\/comments?post=1418"}],"version-history":[{"count":6,"href":"https:\/\/sarai.igme.es\/index.php\/wp-json\/wp\/v2\/posts\/1418\/revisions"}],"predecessor-version":[{"id":1436,"href":"https:\/\/sarai.igme.es\/index.php\/wp-json\/wp\/v2\/posts\/1418\/revisions\/1436"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sarai.igme.es\/index.php\/wp-json\/wp\/v2\/media\/1425"}],"wp:attachment":[{"href":"https:\/\/sarai.igme.es\/index.php\/wp-json\/wp\/v2\/media?parent=1418"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sarai.igme.es\/index.php\/wp-json\/wp\/v2\/categories?post=1418"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sarai.igme.es\/index.php\/wp-json\/wp\/v2\/tags?post=1418"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}