{"action":"closed","issue":{"url":"https://api.github.com/repos/ssj-delta-cu/ssj-weather/issues/4","repository_url":"https://api.github.com/repos/ssj-delta-cu/ssj-weather","labels_url":"https://api.github.com/repos/ssj-delta-cu/ssj-weather/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/ssj-delta-cu/ssj-weather/issues/4/comments","events_url":"https://api.github.com/repos/ssj-delta-cu/ssj-weather/issues/4/events","html_url":"https://github.com/ssj-delta-cu/ssj-weather/issues/4","id":169749846,"number":4,"title":"Upload CIMIS ETo data to earthengine","user":{"login":"qjhart","id":344953,"avatar_url":"https://avatars.githubusercontent.com/u/344953?v=3","gravatar_id":"","url":"https://api.github.com/users/qjhart","html_url":"https://github.com/qjhart","followers_url":"https://api.github.com/users/qjhart/followers","following_url":"https://api.github.com/users/qjhart/following{/other_user}","gists_url":"https://api.github.com/users/qjhart/gists{/gist_id}","starred_url":"https://api.github.com/users/qjhart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qjhart/subscriptions","organizations_url":"https://api.github.com/users/qjhart/orgs","repos_url":"https://api.github.com/users/qjhart/repos","events_url":"https://api.github.com/users/qjhart/events{/privacy}","received_events_url":"https://api.github.com/users/qjhart/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-06T14:51:17Z","updated_at":"2016-08-09T15:10:17Z","closed_at":"2016-08-09T15:10:17Z","body":"First get all data into google cloud storage.  We use the existing cimis data.\r\n\r\n```{bash}\r\nfor c in cimis/*/*/*/ETo.tif; do \r\n n=`echo $c | cut -d\"/\" -f 2-4 | tr \"/\" \"-\"`;\r\n gsutil cp $c gs://qjhart-cats/$n.tif;\r\ndone\r\n```\r\n\r\nThen upload them into earthengine. \r\n```{bash}\r\nfor i in `gsutil ls gs://qjhart-cats/201*.tif`; do\r\n d=`basename $i .tif | cut -d'/' -f 4`;\r\n earthengine upload image --asset_id=users/qjhart/ssj-delta-cu/ssj-weather/cimis_eto/$d \\\r\n --time_start=\"$d\" --pyramiding_policy=mean  $i; \r\ndone\r\n```\r\n"}}
{"actor":{"display_login":"qjhart"}}