{"id":18380856,"url":"https://github.com/eeholmes/example-for-aaron","last_synced_at":"2025-04-11T16:48:34.065Z","repository":{"id":70476606,"uuid":"575050152","full_name":"eeholmes/example-for-aaron","owner":"eeholmes","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-06T17:50:01.000Z","size":1216,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-15T23:29:37.962Z","etag":null,"topics":[],"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/eeholmes.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}},"created_at":"2022-12-06T16:36:49.000Z","updated_at":"2022-12-06T17:48:42.000Z","dependencies_parsed_at":"2023-04-06T16:16:44.286Z","dependency_job_id":null,"html_url":"https://github.com/eeholmes/example-for-aaron","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eeholmes%2Fexample-for-aaron","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eeholmes%2Fexample-for-aaron/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eeholmes%2Fexample-for-aaron/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eeholmes%2Fexample-for-aaron/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eeholmes","download_url":"https://codeload.github.com/eeholmes/example-for-aaron/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248442635,"owners_count":21104229,"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-06T00:43:48.422Z","updated_at":"2025-04-11T16:48:34.044Z","avatar_url":"https://github.com/eeholmes.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# example-for-aaron\n\nRead this to learn about accessing NOAA data on ERRDAP\n\nhttps://github.com/CoastWatch-WestCoast/ERDDAP-basics\n\nhttps://coastwatch.noaa.gov/cwn/data-access-tools/coastwatch-data-portal.html\n\n## Find some data\n\nGo here and search chl\nhttps://coastwatch.pfeg.noaa.gov/erddap/index.html\n\nYou'll need to find data that go back to 2010 when the oil spill happened and cover the gulf of mexico. This look pretty good\n\n\u003cimg width=\"987\" alt=\"image\" src=\"https://user-images.githubusercontent.com/2545978/205971607-2acd5077-cc78-42d3-a312-26cf006dbde0.png\"\u003e\n\nLet's use the monthly product (because otherwise the data set will be massive) and go to graph so we can choose from a map.\nhttps://coastwatch.pfeg.noaa.gov/erddap/griddap/erdMGchla3day.graph\n\nI futz with the map until I get something like this. These data are at 4km resolution so the file would be massive it I did the whole Gulf.\n\u003cimg width=\"405\" alt=\"image\" src=\"https://user-images.githubusercontent.com/2545978/205980465-7f4fc15c-d989-4ba2-9177-f6c26ff4a94e.png\"\u003e\n\nNow click the data access button so we can get the URL for downloading the data in csv format\n\u003cimg width=\"178\" alt=\"image\" src=\"https://user-images.githubusercontent.com/2545978/205972912-c02a215d-6cca-4c93-b4a5-d9f4a67dd0bf.png\"\u003e\n\nI futz with the dates to be 1 years before and 1 years after. I also subsample for every 4th lat/long location so that the files are not so massive. I futzed around to get a file that was only 8 megabytes so that my example ran fast.\n\u003cimg width=\"858\" alt=\"image\" src=\"https://user-images.githubusercontent.com/2545978/205981808-7be063c4-cbdd-4b4a-8378-623db27a1c42.png\"\u003e\n\nGo to the download part, select csv and generate the url.\n\u003cimg width=\"861\" alt=\"image\" src=\"https://user-images.githubusercontent.com/2545978/205973517-ea9c0c09-9ee1-408b-82c3-015c14975992.png\"\u003e\nI click just generate the url since I will download the file with Python code.\nHere is the URL\nhttps://coastwatch.pfeg.noaa.gov/erddap/griddap/erdMGchlamday.csv?chlorophyll%5B(2009-04-16):1:(2011-04-16)%5D%5B(0.0):1:(0.0)%5D%5B(28.0):4:(30.8125)%5D%5B(-91.05):4:(-84.5)%5D\n\nI take this url over to my Python file chl.ipynb Jupyter notebook.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feeholmes%2Fexample-for-aaron","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feeholmes%2Fexample-for-aaron","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feeholmes%2Fexample-for-aaron/lists"}