<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ronald van Haren on Medium]]></title>
        <description><![CDATA[Stories by Ronald van Haren on Medium]]></description>
        <link>https://medium.com/@r.vanharen?source=rss-3927c7cd8249------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*2yJfRpf-sgquItQmGZ4kAA.jpeg</url>
            <title>Stories by Ronald van Haren on Medium</title>
            <link>https://medium.com/@r.vanharen?source=rss-3927c7cd8249------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 22:46:17 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@r.vanharen/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[FAIRifying eWaterCycle]]></title>
            <link>https://medium.com/escience-center/fairifying-ewatercycle-8a61cf93b81c?source=rss-3927c7cd8249------2</link>
            <guid isPermaLink="false">https://medium.com/p/8a61cf93b81c</guid>
            <category><![CDATA[ewatercycle]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[hydrology]]></category>
            <category><![CDATA[forecast]]></category>
            <category><![CDATA[cwl]]></category>
            <dc:creator><![CDATA[Ronald van Haren]]></dc:creator>
            <pubDate>Tue, 05 Feb 2019 15:23:00 GMT</pubDate>
            <atom:updated>2019-02-05T15:23:00.273Z</atom:updated>
            <cc:license>http://creativecommons.org/licenses/by/4.0/</cc:license>
            <content:encoded><![CDATA[<h4>Towards reproducible science and better flooding forecasts</h4><p>Growing populations, economies, industries and urbanization are increasing the demand for water, while extreme weather spurred by climate change is projected to lead to major changes in water availability. With more and more people moving into delta areas, more and more people become vulnerable to flooding. Naturally this increases the demand for flood forecasts. If we know that a flood is likely to happen in 10 days time, is there still something we can do to prevent this flood from actually happening? Can we take preparations to mitigate the effect of the flood?</p><p>This was exactly the aim of the <a href="https://www.esciencecenter.nl/project/ewatercycle">eWaterCycle</a> project: to predict flood and drought events 10 days in advance, worldwide and at unprecedentedly high resolution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ERr4etL8sVWeV98P0oKrzQ.jpeg" /></figure><h4>Reproducibility</h4><p>While the complex system created in the <a href="https://www.esciencecenter.nl/project/ewatercycle">eWaterCycle project</a> worked for us, it was extremely difficult for someone else to set up such a system on their own computing resources, let alone to go back, rerun and validate our experiments. This is where the <a href="https://www.nature.com/articles/sdata201618">FAIR — Findability, Accessibility, Interoperability, and Reusability — </a>principles come in, to serve as a guide around these issues, thereby maximizing the added value of the research. It is important to note that these principles not only apply to ‘data’ in the conventional sense, but also to how this data came to be. The issues identified by the FAIR principles are precisely the ones we tried to solve in the <a href="https://www.esciencecenter.nl/project/fairifying-ewatercycle">FAIRifying eWaterCycle project</a>¹.</p><p>In this project we created a fully reproducible (low resolution) version of the eWaterCycle forecast. The lessons learned will be taken into account moving forward in developing a <em>community multi-model environment for hydrological experiments and analyses</em> in the follow up project <a href="https://www.esciencecenter.nl/project/ewatercycle-ii">eWaterCycle II,</a> but will also benefit the design of the European Open Science Cloud for Research.</p><p>In our effort to <em>FAIRify</em> the system, we relied heavily on both <a href="https://www.docker.com/">docker</a> containerization and the <a href="https://www.commonwl.org/">Common Workflow Language (CWL</a>). Containerization provides a solution to the problem of how to get software to run reliably when moved from one computing environment to another. CWL is a specification for describing analysis workflows and tools in a way that makes them portable and scalable across a variety of software and hardware environments, from workstations to cluster, cloud, and high performance computing (HPC) environments. In addition, CWL is able to provide provenance through <a href="https://zenodo.org/record/1966881#.XFMIj-2CrJE">CWLProv</a>. Workflow provenance saves information about the workflow specification, input and outputs, and executions of the workflow, so that experiments can be verified and reproduced in a precise manner.</p><p>It is technically very hard to connect CWL workflow steps in a cyclic manner. Cyclic workflows are much better controlled using a specialized workflow engine for cycling systems. We therefore opted to only describe the workflow steps in CWL and control the workflow using such a workflow engine. Here we used <a href="https://cylc.github.io/cylc/">Cylc</a>: a workflow engine that orchestrates distributed suites of interdependent cycling<strong> </strong>tasks that may continue to run indefinitely. Cylc was originally developed for operational environmental forecasting. Having its roots in environmental forecasting, Cylc provides handy features for these kind of operational forecasts such as <em>clock triggers</em>, <em>event triggers</em>, <em>retry handlers</em> for individual tasks, and more. This allows us for example to wait for input data to be available on the server, retry specific tasks when they failed, or choose alternative paths of the workflow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TKU5owFizUEh9ta86rUxKg.png" /><figcaption>Technical overview FAIRified eWaterCycle system</figcaption></figure><p>In essence, the forecast system (picture above) performs a couple of steps that are executed every day:</p><ul><li>Downloading of input data from various sources</li><li>Pre-processing of input data</li><li>Performing data-assimilation and running an ensemble of hydrological forecasts</li><li>Post-processing of model output</li><li>Uploading of the results and provenance to the archive</li></ul><h4>Results</h4><p>Using a combination of the CWL standard for workflows, Cylc as a workflow engine, and Docker software containers, we were able to create a fully reproducible (low resolution) version of the eWaterCycle forecast. Output is stored at OneData and made available for analysis in a notebook environment. In addition the hydrological forecasts are visualized in a <a href="http://forecast.ewatercycle.org/">web application</a>. The forecast is running daily now, without any manual intervention and runs on supercomputers without changes needed to the software installed on the system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HdGRzjc3O7xInSY9x_vfhQ.png" /><figcaption><a href="http://forecast.ewatercycle.org/">Interactive forecast</a></figcaption></figure><p>During this project we learned some valuable lessons that we plan to integrate into our larger <a href="https://www.ewatercycle.org/">eWaterCycle II projec</a>t, with a focus on FAIR hydrological modelling. Some of the lessons learned during this small project include:</p><ul><li>You cannot build a FAIR system build on un-FAIR components. Sometimes you have no control on e.g. the FAIRness of your input data.</li><li>Improving FAIRness of datasets from third parties is very difficult without involving the original author of such data. Involving authors of these datasets is often not feasible within the scope of small projects.</li><li>Metadata and licensing information for datasets is often unclear or sometimes non-existent.</li><li>The <a href="https://onedata.org/#/home">OneData system</a> is a really nice concept, but could be further improved by adding some key usability features like file sharing, persistent storage with identifiers, authentication and authorization services and execution services for standards-based workflows.</li></ul><p><a href="https://github.com/eWaterCycle/forecast-docker">Code and instructions available at eWaterCycle github</a></p><ol><li>This project is funded as part of the <a href="https://www.eoscpilot.eu/">European Open Science Cloud for Research Pilot (EOSCPilot) Project</a> and received funding from the European Commission’s Horizon 2020 research and innovation programme under the Grant Agreement no 739563.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8a61cf93b81c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/escience-center/fairifying-ewatercycle-8a61cf93b81c">FAIRifying eWaterCycle</a> was originally published in <a href="https://medium.com/escience-center">Netherlands eScience Center</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Predicting temperatures in your street]]></title>
            <link>https://medium.com/escience-center/predicting-temperatures-in-your-street-6f0f0107c130?source=rss-3927c7cd8249------2</link>
            <guid isPermaLink="false">https://medium.com/p/6f0f0107c130</guid>
            <category><![CDATA[weather]]></category>
            <category><![CDATA[escience]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[urban]]></category>
            <dc:creator><![CDATA[Ronald van Haren]]></dc:creator>
            <pubDate>Wed, 23 Aug 2017 11:17:44 GMT</pubDate>
            <atom:updated>2017-08-24T09:12:16.686Z</atom:updated>
            <cc:license>http://creativecommons.org/licenses/by/4.0/</cc:license>
            <content:encoded><![CDATA[<p>The next big thing in weather forecasting</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QMUb9qjiCmHbWME3fqD-Ow.gif" /><figcaption>Example of a high resolution weather forecast at 500m (right) and 100m (left) resolution</figcaption></figure><p>eScience Research Engineers at the Netherlands eScience Center are collaborating with a team of climate scientists to develop a novel approach to predict temperatures in your own street. Before we go into detail on why this is relevant and how we did this, let’s first talk some general history about the why and how of weather forecasting.</p><h4>History of weather forecasting</h4><p>In the beginning of the 20th century major advances were made in atmospheric physics. It was argued by Vilheml Bjerknes (1862–1951) that numerical weather forecasting should be considered an initial value problem and could be solved by integrating a set of equations. Although he made a small mistake in the set of equations he defined, which was later corrected by Lewis Fry Richardson (1881–1953), Bjerknes laid the foundation for the weather forecasts as we know them today.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/220/0*Px3hBxi00hpR5Pdn.jpg" /><figcaption>Vilheml Bjerknes</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/253/0*C0Fm7w8DQTw9JWie.png" /><figcaption>Lewis Fry Richardson</figcaption></figure><p>Richardson then went on to simplify the governing equations and produce the first albeit unrealistic, hand calculated, numerically calculated weather forecast. Because of the large amount of calculations involved it took him six weeks to produce an eight hour weather forecast for one single location. The next big step in the history of numerical weather forecasting was made by the introduction of digital computers in the 1940s. After World War II, weather forecasting was one of the first major applications of digital computers. With the availability of more compute power in more recent years, numerical weather models continued to evolve and became more and more complex.</p><p>Today, we are able to make fairly accurate weather forecasts 7 days in advance. However, all forecasts are still pretty coarse. In reality, weather is pretty fine-grained — it may be raining in your street but dry in the next. Could we predict weather on such a fine-grained scale?</p><h4>Why do we need weather forecasts for the urban area</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/607/1*TMfqkiMQgm-ApTl-q6iqWA.png" /><figcaption>Traditional weather forecast (source: KNMI)</figcaption></figure><p>Traditional weather forecasts as we all know them from the evening news, although reliable enough to plan an outdoor trip, predict average temperatures in rural areas of several kilometers by size. In cities, where most people live and work, temperatures may be several degrees Celsius higher due to lots of activities going on that produce heat, and building materials and structures that insulate or hold the heat: the city doesn’t release its heat as fast as the surrounding country side. This is called the <em>urban heat island </em>effect. Increased daytime temperatures, reduced nighttime cooling, and higher air pollution levels associated with urban heat islands can affect human health by contributing to general discomfort, respiratory difficulties, exhaustion, and other heat-related health issues.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*Vl6g_JD4nnBU6UZm.png" /><figcaption>Urban heat island temperature profile</figcaption></figure><h4>Computational challenge</h4><p>At the Netherlands eScience Center we have two projects related to the subject of weather forecasts for urban areas: Summer in the City (finished) and the follow-up project ERA-URBAN (ongoing). Both projects are in collaboration with the Meteorology and Air Quality group at Wageningen University. In these projects the Weather Research Forecasting (WRF) model, a so-called limited area (regional) model (LAM), is used. Limited area models work by increasing the resolution of a global model in a small, limited area of interest. Such an area could cover for example the northwestern part of Europe. The weather calculated by the global model is used as input at the edges of the regional model for factors such as temperature, wind, and sea surface temperature. The global model determines the very large scale effects of atmospheric and land surface processes, while the regional model adds regional refinement by resolving the local impacts given small scale information about orography (land height), land-sea contrasts, land use, and (optionally) cities. Thus, limited area models downscale the weather prediction from global weather models with regional refinements.</p><p>With the large scale weather and a regional model, we are now able to set up a weather forecast for our region of interest. However, an urban weather forecast should ideally be at a resolution in the order of a few hundred meters or higher. Running a limited area model for the whole of Europe (or even the whole of the Netherlands) at this resolution is still computationally too expensive. A typical way to overcome this is by using nested grids: the model creates a copy of itself on a subdomain at a higher resolution. In our case we went for 4 nested grids, going from low to high resolution: 12.5km — 2.5km — 500m — 100m. This is shown in the figure below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/785/0*F7iC9xWmKYtNasus.png" /><figcaption>Overview of the forecast domains: The 100m resolution domain is centered on the city of Amsterdam (domain 4). The next domain, at 500m resolution, covers the Randstad (domain 3). The whole of the Netherlands is covered at 2.5 km resoluton (domain 2). The outer domain (at 12.5 km resolution) covers a large part of northern Europe.</figcaption></figure><h4>Detailed description of the area</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5ravkEZ1j4jjCjDN5tiBsg.png" /><figcaption>Algemene hoogtekaart Nederland (AHN) (source: <a href="https://ahn.arcgisonline.nl/ahnviewer/">https://ahn.arcgisonline.nl/ahnviewer/</a>)</figcaption></figure><p>Typically, the land surface description of the area included with the model comes in a much coarser resolution than what is needed for urban weather forecasts. Therefore, the next step is adding detail to the description of the area. The accuracy of land surface parameters, including topography, land use, vegetation cover, and soil type, influence the modeled land surface processes and characteristics of the atmospheric boundary layer (lowest part of the atmosphere). These variables greatly influence the model performance and directly determine surface parameters such as albedo, emissivity, roughness, porosity and thermal conductivity of the soil. Examples of data sources that were used in this project include NDVI (vegetation) maps (available from e.g. Landsat 7 ETM+ or Digitale Kleuren Luchtfoto Nederland (DKLN)), accurate information on the location and shape of the buildings (<a href="https://www.kadaster.nl/web/artikel/productartikel/TOP10NL.htm">TOP10NL</a>), accurate building heights (<a href="http://www.ahn.nl/">AHN</a>), landuse classes (<a href="https://www.kadaster.nl/web/artikel/productartikel/TOP10NL.htm">TOP10NL</a>) and soil types (<a href="http://www.wur.nl/nl/show/Grondsoortenkaart.htm">Grondsoortenkaart</a>), all at very high resolution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/777/1*6ynQLyvXu9mL_cDoCskRpg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DXkFBTKvVf41QPIuf7PLWA.png" /><figcaption>Soil types (left, source: ALTERRA ) and land use classes (right)</figcaption></figure><h4>Finetuning</h4><p>Three things remain to be done. Firstly, the sea surface temperatures and river temperatures that follow from the global model that are used as boundary conditions are not very accurate. For a city near the coast, such as Amsterdam, this affects the forecasted temperature. Therefore, we manually set these to more accurate values as obtained from <a href="https://www.rijkswaterstaat.nl/apps/geoservices/rwsnl/awd.php?mode=html&amp;projecttype=watertemperatuur">Rijkswaterstaat</a>. Secondly, we need to make sure that the heat in the buildings is retained between forecast runs in order to have a more accurate representation of the urban heat island effect. Thirdly, results may be improved even further by assimilating (crowd-sourced) local weather observations into the initial conditions of the regional forecast run (currently this is still an area of research in the ERA-URBAN project and not implemented for the <a href="http://www.met.wur.nl/Summerinthecity/pages/dailyforecasts.html">operational forecast</a>). Finally, to automate the whole workflow and automatically create a weather forecast at a daily basis we need a workflow engine. Here we adopted <a href="https://cylc.github.io/cylc/">Cylc</a>, but of course others can be used as well.</p><h4>Check out the end result!</h4><p>An example of a 2-day forecast on the 500-m domain of a hot summer day in June 2017 is included in the figure below. For a live daily forecast on all four domains, please visit <a href="http://www.met.wur.nl/Summerinthecity/pages/dailyforecasts.html">http://www.met.wur.nl/Summerinthecity/pages/dailyforecasts.html</a> (available during the northern hemisphere summer months).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QMUb9qjiCmHbWME3fqD-Ow.gif" /><figcaption>Example temperature forecast for the 500m (left) and 100m (right) domain. Daily temperature forecast for all domains is available via <a href="http://www.met.wur.nl/Summerinthecity/pages/dailyforecasts.html">http://www.met.wur.nl/Summerinthecity/pages/dailyforecasts.html</a> during the summer months.</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6f0f0107c130" width="1" height="1" alt=""><hr><p><a href="https://medium.com/escience-center/predicting-temperatures-in-your-street-6f0f0107c130">Predicting temperatures in your street</a> was originally published in <a href="https://medium.com/escience-center">Netherlands eScience Center</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>