{"id":21614664,"url":"https://github.com/eea/wise.msfd","last_synced_at":"2025-04-11T06:52:45.018Z","repository":{"id":34875092,"uuid":"152717708","full_name":"eea/wise.msfd","owner":"eea","description":"MSFD (Marine Strategy Framework Directive) search engine and compliance module","archived":false,"fork":false,"pushed_at":"2025-04-04T12:25:57.000Z","size":61460,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-04T13:33:50.509Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eea.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.rst","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-12T08:21:12.000Z","updated_at":"2025-03-11T13:11:10.000Z","dependencies_parsed_at":"2023-11-21T15:27:20.855Z","dependency_job_id":"3326f08a-d799-49d4-bcad-91f33a656232","html_url":"https://github.com/eea/wise.msfd","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eea%2Fwise.msfd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eea%2Fwise.msfd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eea%2Fwise.msfd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eea%2Fwise.msfd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eea","download_url":"https://codeload.github.com/eea/wise.msfd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248358548,"owners_count":21090401,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-24T22:08:49.715Z","updated_at":"2025-04-11T06:52:40.007Z","avatar_url":"https://github.com/eea.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"=========\nwise.msfd\n=========\n\nWISE Marine Directive Strategy Framework implementation\n\nFeatures at end of Phase 2:\n\nSearch engine for MSFD reported data\n------------------------------------\n\nIntegrates with two MSSQL databases and allows searching and visualizing data\nfrom the various reporting exercises: Article 4, 7, 8, 9, 10, 11, 13, 14 from\n2012 and Art 8, 9 and 10 from 2018 reporting. The search engine is available\nat https://water.europa.eu/marine/data/msfd-data\n\nAllows navigation between types of information. Main Sections:\n\n  - Article 7 (Competent authorities)\n  - Articles 4, 8, 9, 10 - 2012\n  - Article 11 - 2014\n  - Articles 13 \u0026 14 - 2015\n  - Article 8, 9 \u0026 10 - 2018\n\nGeneric features when displaying the records:\n\n  - because the member states used ad-hoc text formats to input their reports,\n    we have to interpret that text and try to re-format it for HTML (blank\n    lines to be converted to paragraphs, autodetect links, etc).\n  - there are 2 types of filtering widgets: single selection and\n    multiselection. The single selection widget allows searching for text,\n    while the multi-selection widget allows searching for text, clearing the\n    selection, invert selection, select all, apply filters button.\n  - persistent search filters: when navigating to a different page and coming\n    back to the search engine, the filters are preserved, using the browser's\n    local storage.\n  - AJAX based loading of information, to avoid hard refreshes of browser pages\n  - Caching of information at the server level, to optimize page load speed\n  - Download a collection of filtered records as Excel, where they are\n    presented grouped in worksheets, per type of included feature.\n  - Present human readable labels for the short codes stored as values in the\n    database\n\nArticle 7 section\n~~~~~~~~~~~~~~~~~\n\nShow the competent authorities records. Offers pagination and filtering based\non countries.\n\nArticles 4, 8, 9, 10 - 2012\n~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\n**Article 4** shows the Geographical areas primary information, the area\ndescription and related regional cooperation information. Allows filtering\ninformation by region and subregion, countries and area type.\n\n**Article 8.1a** shows the Analysis of the Environment information. The\ninformation here can be filtered, in addition to the usual Region and\nsubregion, Countries, Area type, MarineUnitID, also by the theme (a total of 7\nthemes): Ecosystem, Habitats, etc, and the displayed information has the\nrelated records of information displayed there.\n\n**Article 8.1b** shows the Analysis of the pressure impacts. The information\nhere can be filtered, in addition to the usual Region and subregion, Countries,\nArea type, MarineUnitID, also by the theme (a total of 13 themes):\nAcidification, Marine litter, etc, and the displayed information has the\nrelated records of information displayed there.\n\n**Article 8.1c** shows the Economic and social analysis records. The\ninformation here can be filtered by Region and subregion, Countries,\nArea type, MarineUnitID and displays related information of \"Pressures produced\nby the activities\"\n\n**Article 9** shows GES determination information. The information here can be\nfiltered by the usual filters and offers additional Feature Types information.\n\n**Article 10** shows targets information, with Feature Types and Criteria\nIndicators as additional information.\n\nArticle 11\n~~~~~~~~~~\nPresents the monitoring programmes information, with various related elements\nand concerned marine unit ids. It allows filtering for Monitoring Programme\nType, and Information Type (monitoring programm or subprogram), in addition to\nthe regular region, countries and marine unit ids filters.\n\nArticles 13 \u0026 14\n~~~~~~~~~~~~~~~~\nThis is where the reported information can be viewed, where we can filter by\nReport Type, Regions, Countries, MarineUnitIds and Unique Codes of the reports.\nThe reports are presented with related information about the report type,\nreport URL, Relevant Environment Targets, Links to existing policies, Spatial\nScope Geographic Zones, KTM, Relevant GES Descriptors and Relevant Features\nfrom Annex 3.\n\nArticles 8, 9, 10 - 2018 version\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nHere we display the recorded information from 2018 reports. We have Article 10\n(Targets), the Article 8.1ab (GES Assessments), Article 8.1c (ESA assessments),\nArticle 9 (GES Determination) and the Indicators pages. Each page allows\nfiltering and displays relevant information.\n\nArticle 8.1ab\n~~~~~~~~~~~~~\nDisplays the GES Assessments information with related pressure and target\ncodes, element and criteria statuses, criteria values and criteria value\nindicators. Allows filtering information by MarineUnitID, Country Code,\nFeatures and GES Component.\n\nArtiticle 8.1c\n~~~~~~~~~~~~~~\nDisplay the ESA assessments information. Filtering can be done by MarineUnitID,\nCountry Code, Features and GES Component.\n\nArticle 9\n~~~~~~~~~\nDisplays GES determination information, GES description, the determination\ndate, update type. The information here can be filtered by MarineUnitID,\nCountry Code, GES Component, and Features.\n\nArticle 10\n~~~~~~~~~~\nDisplays the targets and associated indicators, target codes, description, time\nscale, update date, update type and parameters. The information can be filtered\nby MarineUnitID, Country Code, Features and GES Component.\n\n\nCompliance Assessment module\n----------------------------\n\nThis module facilitates the assessment of MSFD reported information.\n\nFeatures:\n\nBootstrap process\n~~~~~~~~~~~~~~~~~\nWe have a bootstrap process that creates the necessary Plone content:\ncompliance modules folders (national descriptors, regional descriptors, etc),\nthe country folders (one for each participating member state), inside the\ncountry folders there are folders for each region, then we have a folder for\neach descriptor, with children folders for each assessed article and finally\ntwo folders per article assessment, that hold the tracks of comments. During\nbootstraping the proper security access is also setup, with integration to\ndedicated Eionet groups.\n\nNavigation\n~~~~~~~~~~\n- navigation to sections: Start page, National Descriptors assessment section,\n  Regional descriptors section, National overviews, Regional overviews.\n\n\nNational descriptors section\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n- In the National descriptors section, we can navigate to each country and see\n  the color coded overview of the assessment phase of that country's assessment.\n\n- In the member state's national descriptor assessment overview page, we have\n  the Proces state overview, with security-based workflow state change, and\n  a descriptor-based access and status overview of all articles (Art8, Art9,\n  Art10), all grouped by regions.\n\nNational descriptor Article assessment\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nIn the Article assessment overview page we have navigation links to all the\nrelevant pages for that assessment:\n\n  - 2012 Report Data,\n  - 2018 Report Data,\n  - Edit the Assessment\n  - and finally a security-based workflow state change dropdown.\n\nThe assessment overview shows two overview sections:\n\n  - one for the 2012 assessment and\n  - one for the 2018 assessment.\n\nIn the 2018 assessment overview we have an overview of each question, with \ncolor-coded values for each involved criterion and calculates a score based on \ndescriptor-appropriate weighting tables. It also shows:\n\n  - the assessment summary\n  - the recommendations\n  - and allows the editing of the progress assessment field.\n\nIt calculates the overall score on all the questions in this descriptor\nassessment and a difference to the previous assessment score.\n\nThe 2012 assessment overview is similar, but doesn't have individual questions\nattached to the criterions.\n\nAt the bottom we have the two discussion tracks: one for the Compliance Module\nreviewers (Milieu) to the assigned Topic Lead, and another for the Milieu with\nEC. Each type of user can add comments only in its available comments section.\n\nThe Edit Assessment page allows the Topic Leads to enter their assessment\nanswers: for each assessment question they are asked to choose answers from\na series of dropdowns, one for each available criterion for that question. They\ncan also enter a summary text for each question and an overall assessment\nsummary and recommendations for that Member state. The form also makes\navailable a popup window with the criteria definition relevant to that\ndescriptor and also shows tooltips with criteria definitions next to each\ndropdown in the questions form.\n\nThe questions for each article are defined in a separate XML file, with all\npossible answers, information about the scoring method used and weighting for\neach descriptor.\n\nThe 2018 report data page uses several backend implementation to adjust its\ndisplayed data according to the type of article (8a, 8b, 9, 10) and the desired\ndescriptor. It shows an overview of the reported data, as extracted from the\ndatabase, with links to the original report and the HTML Factsheet offered by\nthe CDR converters. It also offers a link to download the report data in Excel\nformat.\n\nThe report tables on the 2018 page are separated by the MarineUnitIDs for\nArticle 8 and 10. A \"simplify table\" toggle is available to allow easier\nunderstanding of the extracted information and works by merging identical\nvalues in adjacent table cells. The database values are \"translated\" to human\nreadable labels and the original value is available as a tooltip. The left-most\ncolumn is fixed, while the rest of the columns are horizonal scrollable.\n\nSpecific data cells are available to be automatically translated by Milieu,\nusing a special online service provided by EC (with special security\npermissions). Once translated, it is possible to toggle between the two texts\nwith small buttons inside the cell. It is also possible to edit the\ntranslation.\n\nThe 2012 report data shows its information in a similar format, but needs to be\nable to map the 2012 reported information using the concept of descriptors,\nwhich were not available at that time, so it needs to map old indicators and\ndescriptors to the 2018 data format.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feea%2Fwise.msfd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feea%2Fwise.msfd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feea%2Fwise.msfd/lists"}