{"action":"created","issue":{"url":"https://api.github.com/repos/conda-forge/nco-feedstock/issues/14","repository_url":"https://api.github.com/repos/conda-forge/nco-feedstock","labels_url":"https://api.github.com/repos/conda-forge/nco-feedstock/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/conda-forge/nco-feedstock/issues/14/comments","events_url":"https://api.github.com/repos/conda-forge/nco-feedstock/issues/14/events","html_url":"https://github.com/conda-forge/nco-feedstock/pull/14","id":159988554,"number":14,"title":"Add ESMF run-time dependency.","user":{"login":"ocefpaf","id":950575,"avatar_url":"https://avatars.githubusercontent.com/u/950575?v=3","gravatar_id":"","url":"https://api.github.com/users/ocefpaf","html_url":"https://github.com/ocefpaf","followers_url":"https://api.github.com/users/ocefpaf/followers","following_url":"https://api.github.com/users/ocefpaf/following{/other_user}","gists_url":"https://api.github.com/users/ocefpaf/gists{/gist_id}","starred_url":"https://api.github.com/users/ocefpaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ocefpaf/subscriptions","organizations_url":"https://api.github.com/users/ocefpaf/orgs","repos_url":"https://api.github.com/users/ocefpaf/repos","events_url":"https://api.github.com/users/ocefpaf/events{/privacy}","received_events_url":"https://api.github.com/users/ocefpaf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-06-13T16:13:37Z","updated_at":"2016-06-13T19:39:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/conda-forge/nco-feedstock/pulls/14","html_url":"https://github.com/conda-forge/nco-feedstock/pull/14","diff_url":"https://github.com/conda-forge/nco-feedstock/pull/14.diff","patch_url":"https://github.com/conda-forge/nco-feedstock/pull/14.patch"},"body":"Ping @czender it would be nice to add those 3-commands you mentioned in https://github.com/conda-forge/nco-feedstock/pull/5#issuecomment-225577109 as an extra test in this PR. (`conda-build` run any python or bash script named `run_test.{sh,py}` in the test phase.)"},"comment":{"url":"https://api.github.com/repos/conda-forge/nco-feedstock/issues/comments/225685721","html_url":"https://github.com/conda-forge/nco-feedstock/pull/14#issuecomment-225685721","issue_url":"https://api.github.com/repos/conda-forge/nco-feedstock/issues/14","id":225685721,"user":{"login":"czender","id":5597049,"avatar_url":"https://avatars.githubusercontent.com/u/5597049?v=3","gravatar_id":"","url":"https://api.github.com/users/czender","html_url":"https://github.com/czender","followers_url":"https://api.github.com/users/czender/followers","following_url":"https://api.github.com/users/czender/following{/other_user}","gists_url":"https://api.github.com/users/czender/gists{/gist_id}","starred_url":"https://api.github.com/users/czender/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/czender/subscriptions","organizations_url":"https://api.github.com/users/czender/orgs","repos_url":"https://api.github.com/users/czender/repos","events_url":"https://api.github.com/users/czender/events{/privacy}","received_events_url":"https://api.github.com/users/czender/received_events","type":"User","site_admin":false},"created_at":"2016-06-13T19:39:46Z","updated_at":"2016-06-13T19:39:46Z","body":"@ocefpaf here is the script i recommend to add as run_test.sh. It would be in the NCO feedstock because it tests multiple NCO operators and conservative regridding with an ERWG-generated map. If the last line prints \"tst = 1\" then everything (NCO and ERWG) works as intended, else something failed. The script below must be modified so that the paths work in the test environment. The file in.nc can be _any_ netCDF file. in.nc is a file that comes with NCO so I used that, but the contents of in.nc do not matter. Everything else is constructed from scratch.\r\n\r\n```\r\nncks -O --rgr skl=~/skl_t42.nc --rgr grid=~/grd_t42.nc --rgr latlon=64,128 --rgr lat_typ=gss --rgr lon_typ=Grn_ctr ~/nco/data/in.nc ~/foo.nc\r\nncks -O --rgr grid=~/grd_2x2.nc --rgr latlon=90,180 --rgr lat_typ=eqa --rgr lon_typ=Grn_wst ~/nco/data/in.nc ~/foo.nc\r\nncap2 -O -s 'tst[lat,lon]=1.0f' ~/skl_t42.nc ~/dat_t42.nc\r\nncremap -a conserve -s ~/grd_t42.nc -g ~/grd_2x2.nc -m ~/map_t42_to_2x2.nc\r\nncremap -i ~/dat_t42.nc -m ~/map_t42_to_2x2.nc -o ~/dat_2x2.nc\r\nncwa -O ~/dat_2x2.nc ~/dat_avg.nc\r\nncks -C -H -v tst ~/dat_avg.nc\r\n```"}}
{"actor":{"display_login":"czender"}}