{ "cells": [ { "cell_type": "markdown", "id": "4a6d3b7f", "metadata": { "papermill": { "duration": 0.009427, "end_time": "2024-07-01T13:29:38.855914", "exception": false, "start_time": "2024-07-01T13:29:38.846487", "status": "completed" }, "tags": [] }, "source": [ "# Metadata table" ] }, { "cell_type": "code", "execution_count": 1, "id": "2c7b4d04", "metadata": { "execution": { "iopub.execute_input": "2024-07-01T13:29:38.869225Z", "iopub.status.busy": "2024-07-01T13:29:38.868918Z", "iopub.status.idle": "2024-07-01T13:29:38.883308Z", "shell.execute_reply": "2024-07-01T13:29:38.882560Z" }, "papermill": { "duration": 0.023656, "end_time": "2024-07-01T13:29:38.886150", "exception": false, "start_time": "2024-07-01T13:29:38.862494", "status": "completed" }, "tags": [ "remove-input" ] }, "outputs": [], "source": [ "# NO CODE\n", "from json2html import json2html\n", "import json, re\n", "from IPython.display import HTML" ] }, { "cell_type": "code", "execution_count": 2, "id": "4e004750", "metadata": { "execution": { "iopub.execute_input": "2024-07-01T13:29:38.901840Z", "iopub.status.busy": "2024-07-01T13:29:38.901251Z", "iopub.status.idle": "2024-07-01T13:29:38.907502Z", "shell.execute_reply": "2024-07-01T13:29:38.906853Z" }, "papermill": { "duration": 0.017293, "end_time": "2024-07-01T13:29:38.910959", "exception": false, "start_time": "2024-07-01T13:29:38.893666", "status": "completed" }, "tags": [ "parameters", "remove-input" ] }, "outputs": [], "source": [ "# NO CODE\n", "# PARAMETERS\n", "path = './meta/environment/meteocat_xema'" ] }, { "cell_type": "code", "execution_count": 3, "id": "4eef430f", "metadata": { "execution": { "iopub.execute_input": "2024-07-01T13:29:38.929518Z", "iopub.status.busy": "2024-07-01T13:29:38.928107Z", "iopub.status.idle": "2024-07-01T13:29:38.935351Z", "shell.execute_reply": "2024-07-01T13:29:38.933833Z" }, "papermill": { "duration": 0.018601, "end_time": "2024-07-01T13:29:38.938238", "exception": false, "start_time": "2024-07-01T13:29:38.919637", "status": "completed" }, "tags": [ "injected-parameters" ] }, "outputs": [], "source": [ "# Parameters\n", "path = \"./meta/mosquito_alert/mwi\"\n" ] }, { "cell_type": "code", "execution_count": 4, "id": "5a82c300", "metadata": { "execution": { "iopub.execute_input": "2024-07-01T13:29:38.956807Z", "iopub.status.busy": "2024-07-01T13:29:38.955168Z", "iopub.status.idle": "2024-07-01T13:29:38.975913Z", "shell.execute_reply": "2024-07-01T13:29:38.974799Z" }, "papermill": { "duration": 0.030931, "end_time": "2024-07-01T13:29:38.979054", "exception": false, "start_time": "2024-07-01T13:29:38.948123", "status": "completed" }, "tags": [ "remove-input", "full-width" ] }, "outputs": [ { "data": { "text/html": [ "
$schema../schema.json
@context
@vocabhttps://schema.org/
qudthttp://qudt.org/schema/qudt/
xsdhttp://www.w3.org/2001/XMLSchema#
@typeDataset
namemwi
conditionsOfAccessPublic
descriptionMosquito Weather Index (MWI) hourly worldwide computed on ERA5 and NCEP data on 0.25 degree raster-grid. This index shows the habitat suitability for mosquitoes. This dataset is not intended for general public access because of its size.
licensehttps://creativecommons.org/publicdomain/zero/1.0/
citation
temporalCoverageSame as era5 and ncep datasets
spatialCoverage
@typePlace
nameWorldwide
sameAshttps://www.wikidata.org/wiki/Q13780930
distribution
  • @typeDataDownload
    namecluster_ceab
    descriptionDistribution by CSIC-CEAB cluster
    encodingFormatnetCDF
    workExample./notebooks/mwi.py
    contentUrl
    • sftp://{USER}@cluster-ceab:/leov1/ncep/mwi_daily_avg/{YEAR-MONTH-DAY}/mwi_daily_avg_t_{YEAR-MONTH-DAY}.nc
    • sftp://{USER}@cluster-ceab:/leov1/era5/mwi_daily_avg/mwi_daily_avg_t_{YEAR-MONTH-DAY}.nc
    contentSize100kB
variableMeasured
  • @typePropertyValue
    namemwi
    descriptionMosquito Weather Index on averaged on daily basis from hourly weather datasets
    qudt:dataTypexsd:int
creator
  • @typeProject
    @idMA
    nameMosquito Alert, Proyecto Coordinado por CREAF, CEAB-CSIC e ICREA
    contactPoint
    @typeContactPoint
    emailinfo@mosquitoalert.com
    urlhttp://www.mosquitoalert.com/
  • @typePerson
    @idJP
    namePalmer, John Rossman Bertholf
    identifierhttps://orcid.org/0000-0002-2648-7860
    contactPoint
    @typeContactPoint
    contactTypeprincipal investigator
    emailjohn.palmer@upf.edu
    urlhttps://www.upf.edu/web/gritim/entry/-/-/50722/adscripcion/john-rossman-bertholf-palmer/
  • @typePerson
    @idZJ
    nameJužnič Zonta, Živko
    identifierhttps://orcid.org/0000-0002-2362-9771
    contactPoint
    @typeContactPoint
    contactTypedata engineer
    emailjzivko@gmail.com
    urlhttps://es.linkedin.com/in/zivko
measurementTechnique
" ], "text/plain": [ "" ] }, "execution_count": 4, "metadata": {}, "output_type": "execute_result" } ], "source": [ "# NO CODE\n", "# FULL WIDTH\n", "with open(f'{path}.json') as f:\n", " data = json.load(f)\n", "\n", "table = json2html.convert(json=data, clubbing=False)\n", "table_sub = re.sub('', '', table)\n", "\n", "HTML(table_sub)\n", "\n", "# Run the following in the command line to build a html table\n", "# $ jupyter nbconvert --to html --no-input --no-prompt build_tables.ipynb\n" ] }, { "cell_type": "code", "execution_count": null, "id": "996c722e", "metadata": { "papermill": { "duration": 0.008417, "end_time": "2024-07-01T13:29:39.001612", "exception": false, "start_time": "2024-07-01T13:29:38.993195", "status": "completed" }, "tags": [] }, "outputs": [], "source": [] } ], "metadata": { "interpreter": { "hash": "524d3359b179f3b444361f48db8ae048bd8c237924fac1cd48a4c6f8144f6452" }, "kernelspec": { "display_name": "Python 3.7.10 64-bit ('scidb': conda)", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.10.4" }, "metadata": { "interpreter": { "hash": "e3961729dbf4ff77740ff872c9a3eef08621b5b434e3d8d81026af4505918c74" } }, "papermill": { "default_parameters": {}, "duration": 1.691261, "end_time": "2024-07-01T13:29:39.331662", "environment_variables": {}, "exception": null, "input_path": "build_info.ipynb", "output_path": "./meta_ipynb/mwi.ipynb", "parameters": { "path": "./meta/mosquito_alert/mwi" }, "start_time": "2024-07-01T13:29:37.640401", "version": "2.3.4" } }, "nbformat": 4, "nbformat_minor": 5 }