{"id":51260208,"url":"https://github.com/douglasdrake/hawaii","last_synced_at":"2026-06-29T11:32:20.010Z","repository":{"id":294297503,"uuid":"184833091","full_name":"douglasdrake/hawaii","owner":"douglasdrake","description":"Query weather observatory database in SQLAlchemy in Python via Flask.","archived":false,"fork":false,"pushed_at":"2019-10-21T14:29:01.000Z","size":519,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-19T19:55:55.461Z","etag":null,"topics":["datebase","flask","python","sqlalchemy"],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","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/douglasdrake.png","metadata":{"files":{"readme":"README.md","changelog":null,"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,"zenodo":null}},"created_at":"2019-05-03T23:50:04.000Z","updated_at":"2019-10-21T14:29:02.000Z","dependencies_parsed_at":"2025-05-19T19:55:58.932Z","dependency_job_id":"b5126141-0ea1-49a4-bc4b-0dae9db05542","html_url":"https://github.com/douglasdrake/hawaii","commit_stats":null,"previous_names":["douglasdrake/hawaii"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/douglasdrake/hawaii","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douglasdrake%2Fhawaii","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douglasdrake%2Fhawaii/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douglasdrake%2Fhawaii/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douglasdrake%2Fhawaii/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/douglasdrake","download_url":"https://codeload.github.com/douglasdrake/hawaii/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douglasdrake%2Fhawaii/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34925718,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-29T02:00:05.398Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["datebase","flask","python","sqlalchemy"],"created_at":"2026-06-29T11:32:19.207Z","updated_at":"2026-06-29T11:32:20.005Z","avatar_url":"https://github.com/douglasdrake.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hawaii\n\n# Description\nQuery weather observatory database via SQLAlchemy in Python.  Using the query results, we analyze weather data over for a time period in the past.\n\nA Flask app is also provided to query the database.\n\n# Methods\n1.  SQLALchemy is used to query the SQLite database of observations.  \n2.  Plots are constructed with `matplotlib`.\n3.  A Flask app is provided to query the database.   We utilize the fuzzy date parsing option of the \n`dateutil.parser.parse` function.  This allows us to avoid checking input dates for valid entries.\n\n# Results\n* The Jupyter notebook `hawaii.ipynb` contains the results of querying the database.  [View the notebook via nbviewer](https://nbviewer.jupyter.org/github/douglasdrake/hawaii/blob/master/hawaii.ipynb)\n* The Jupyter notebook `dateparsing.ipynb` gives examples of using the `dateutil.parser.parse` \nfunction to produce ISO 8601 dates YYYY-MM-DD.  [View the notebook via nbviewer](https://nbviewer.jupyter.org/github/douglasdrake/hawaii/blob/master/dateparsing.ipynb). \n* `stations.ipynb` explores the range of available dates in the database \nfor the various stations and the effect of querying for dates with different formats (`datetime` objects versus dates as\nstrings).  [View the notebook via nbviewer](https://nbviewer.jupyter.org/github/douglasdrake/hawaii/blob/master/stations.ipynb)\n* `app.py` is the code for the Flask app to query the database.  We have incorporated the `dateutil.parser.parse` function \nto allow for flexible entry of dates.   Queries using dates outside the range of the datebase do not produce errors at this time.\nIf a queried date falls outside of the datebase range, the query returns `null` if appropriate.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdouglasdrake%2Fhawaii","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdouglasdrake%2Fhawaii","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdouglasdrake%2Fhawaii/lists"}