 Thank you. Welcome everybody to my talk. My talk stemmed the tracking alliance with pattern citizen science application. Shortly, I introduced myself and the company I work in. I'm Alessio Sinis Calchi. I'm an Italian engineer and I work in Rome and my company is the open solutions from Rome, Italy and we use the mission and philosophy of our company is to use open source software as much as possible as for Italian companies or for large industries and international institutes. Okay, one or of our main subject is oriented to develop geographical data such as environmental data and image recognition and image plotting and so on. Okay, my contact information is displayed here and for you all at the end my talk. My talk is about Allianz. I don't know if you read the abstract of my talk. This is a little question for I think the big question, definitive question for we all is are we alone? Can we collect and enhancing instruments to track allianz and unknown flying objects and so on? Okay, no, of course not. I'm joined with you and we are not talking about Martians. Of course, we are talking about a system to register to collect data about marine alien species. Marine alien species. That is to say a species invasive, non-autotonous. So, of course, we are not alone and stakeholders of this kind of application is not the telescope operators or radiometers, but is scientist, marine biologist and then, of course, citizens, divers, professional and non-professional fishermen. Okay, now we speak about this application, the importance of to register to collect data about alien, that is to say non-indigenous species, marine species. Why? Because the presence of these invasive species is one of the major cases of the decrease in biodiversity. So, not only the pollution of the sea we consider. I underline that we don't speak strictly about fish, but only jellyfish, crustaceans and or living sea plants and so on. You can see in this picture one fish with three eyes pictured near the coast of Springfield, USA. Okay, and but how they travel, they travel in the ballast waters of commercial ships or the line we have an intentional human introduction of this fish, annotation, for example, from aquariums, but also an intentional introduction to balance the habitat of these species. Of course, marine biologists do this introduction, but they should be strongly monitored. Okay, when a marine species is introduced in a new habitat, they begin to multiply their presence, increasing predation and competition, so consuming ecosystem of resources and so the deep change of the habitat change the species itself, the DNA we know. So we have this is a very important question. So what this kind of problem deal with Python? Okay. This is some characteristic of this this kind of problems are very typical. We consider in this case geographical data, geolocated data. And of course, you know that the scientists, the dream of each scientist and to have a wide, very wide area collected with collection of data in a homogeneous way, but of course it is not always possible. You know that resources are very scarce. Also, scientists are few and their work is expensive. I don't know here, but in Italy we have a few resources, a few refunds for researchers. So the reports, usually reports, are very few. They are focused above all in the most populated areas, on the most interesting ones from the point of view of the environmental habitat and biodiversity. And so this is in this picture, we see a case of this shell and the the signalation of this shell is around the Venice Lagoon above all. So the reports are very few. And what the solution of this kind of problem is the application of the citizen science paradigm. What is the citizen science paradigm? The citizen science means public participation in scientific research. This is a Wikipedia definition. It is one century years old. So what it needs, in my opinion, of course, to be applicable, it needs the supervision of a professional scientist. Why? Because we cannot consider the collected data from non-professional user citizens and so non-professional scientists as good. So we have a first phase to validate data collection. Then, of course, we have to do a survey over these collected data. And at the end of this survey, we have the need of a person, a scientist that has the responsibility to publish the survey. So in the words, we need a workflow. The definition of a workflow. Of course, non-professional users should be emotionally involved in the project. So we need to give them a feedback. Some okay, some information that should be important to the public participation is that it should involve a public important issue. So also, users should not be scared by long forms, long subscribing procedures, complicated work. So they should compile user-friendly forms. We have to balance two needs. They need to have a lot of data, but poor information over each report with with a lot of information on each report, but very few reports and we prefer to have a lot of reports, but each report should have very, very few information. So we have, we need to have homogeneous data in a wide area. Of course, citizen science paradigm nowadays is used because there is a big diffusion of media devices. Of course, users should be equipped with tools for the report of the observations. So we can we can use this kind of paradigm and these are some examples of citizen science projects project and some of success stories and not only environmental projects they involve, for example, this one from the National Geographic, they they send you a little kit to get your DNA for tracking history of human migrations, for example. Okay, now I speak in general. Now I am going to speak the more specific case of my project, SMA, system for tracking marine aliens. The client, the client was ISPRA. ISPRA is the Italian Institute for environmental protection and research. And this is the main infrastructure, system infrastructure, and we see on the left the input data is coming from anonymous user or authenticated user via Facebook authentication. Facebook authentication API is defined in Facebook. It is not such a complicated work. Of course, feedback can be applicable only for Facebook log-in users. And then this HTML5 forms to be visible in a media device with a web view, web view plone instance. We see that we have two plone instances. One plone instances is designed to be to be visualized by media devices. And the second one for desktop for desktop work places. So we see that this kind of project has three databases. Note that I have marked two different colors, pink for developed software and light green for only configured software that is available. So, what about the database? Zodib, you know, is the hierarchical database. I don't want to speak about this. I designed a postgres with post-gis extensions to collect data and also a file system to collect the pictures of the species for a local database of marine species and for signalations of marine species. This I split the work in two parts. Of course, picture signalations are the biggest for sites. So I need to consider a project as scalable because you can't predict in advance for citizen science application. You don't know in advance the participation, the amount of the participation of citizens. So with file system storing, you can add space, storing space, simply mounting new parts of the file system. Of course, this project have open layers. Open layers used for users for in the blown instances both. But one on the left is used to mark the position of the signalations. And second one on the right is used to manage all the signalations by by your marine experts. Of course, at the end, we have on the right the interfaces to use such data for by external services. So we have an XML or CSV exporter and a geoserver instance to make data available with very famous protocols such as WFS. Okay. This is the simply crowd friendly form to make a signalation. You see the top on the left and the bottom on the right. You see that it's only one page, one blown page, one language, one layer on the map. It's very simple, should be very simple. And with very few information, only picture and position are compulsory. And so we have other data to report is the date of the observation, the depth, and some additional notes. So there is a validation, a type of validation client side and after, of course, there is a validation of the expert server side, of course. We see the workflow definition. This is an example of the work for the definition, but it is very typical in this case studies. We have two kind of experts, expert level one, we call the level one that makes the validation and the creation of the survey and so the attribution of the right species to the signalations. And expert level two that have the responsibility to publish the survey. Anyway, signalation, reacted or published, generates a feedback to the citizens. So the citizen should be involved and should be considered. And so now I quickly show you some Python piece, three little Python piece I used. Note that I use Python, not such an eccentric or strange way, but as a general glue to make all tools working together. This one is a piece of code from the database model. I use the SQL alchemy declarative base. So this is the class signalation. You know that this with one to one relationship with the survey, use list is forced. Then we know that latitude and longitude are two floats, but position is in the geometry. So I use the alchemy two and the simple function to make the translation of the position to be used with the open layers. Another piece is the piece of code for the XML exporter. It uses the code for the XML exporter. It uses chameleon. And we have to translate a ABCD DNA template. This is a template used for exchange biological data. So it's, I think it's enough simple, but I translate a page template file, I fill it with data. And third is a little bit interesting. There is a connection with worms. Worms is the word register of marine species, the fact of standard for the taxonomy definition of marine species all over the world. We know that worms offers a service to query its database via SOAP protocol. So I use SOAP API to query this database. With this, with this schema, I reach the possibility to have the classification of each species automatically. And so the biologist scientists should not insert and insert the rank, the philum, the genre of the species. And now SMA now is available at this link. And it is not sponsored yet, but should be published soon. I hope. And okay. And this is all. Thank you for listening. We have time for two questions. If anyone has a question, please raise their hand and we'll get you the microphone. Hi. So why did you choose blown? Do you use blown? Okay. Yes. I choose blown before. I choose blown because the final client, one of the reasons, the final client has is already skillful with blown. Also the Institute has a blown site. So we didn't have in this project after deployment, but we had a assistant. So this is one of the best solution for the client. Of course, also be open. The company working have a strong know how about this content management system. So I think that's one of the best solutions. Okay. Thank you very much. Thank you. We'll be back in five minutes with a talk on T. D. D.