{"action":"created","issue":{"url":"https://api.github.com/repos/MPAS-Dev/MPAS-Analysis/issues/123","repository_url":"https://api.github.com/repos/MPAS-Dev/MPAS-Analysis","labels_url":"https://api.github.com/repos/MPAS-Dev/MPAS-Analysis/issues/123/labels{/name}","comments_url":"https://api.github.com/repos/MPAS-Dev/MPAS-Analysis/issues/123/comments","events_url":"https://api.github.com/repos/MPAS-Dev/MPAS-Analysis/issues/123/events","html_url":"https://github.com/MPAS-Dev/MPAS-Analysis/pull/123","id":210928811,"number":123,"title":"Switch climatology interpolation to use ncremap","user":{"login":"xylar","id":4179064,"avatar_url":"https://avatars3.githubusercontent.com/u/4179064?v=3","gravatar_id":"","url":"https://api.github.com/users/xylar","html_url":"https://github.com/xylar","followers_url":"https://api.github.com/users/xylar/followers","following_url":"https://api.github.com/users/xylar/following{/other_user}","gists_url":"https://api.github.com/users/xylar/gists{/gist_id}","starred_url":"https://api.github.com/users/xylar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xylar/subscriptions","organizations_url":"https://api.github.com/users/xylar/orgs","repos_url":"https://api.github.com/users/xylar/repos","events_url":"https://api.github.com/users/xylar/events{/privacy}","received_events_url":"https://api.github.com/users/xylar/received_events","type":"User","site_admin":false},"labels":[{"id":456299701,"url":"https://api.github.com/repos/MPAS-Dev/MPAS-Analysis/labels/don't%20merge","name":"don't merge","color":"b60205","default":false},{"id":396974348,"url":"https://api.github.com/repos/MPAS-Dev/MPAS-Analysis/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"milenaveneziani","id":8237579,"avatar_url":"https://avatars2.githubusercontent.com/u/8237579?v=3","gravatar_id":"","url":"https://api.github.com/users/milenaveneziani","html_url":"https://github.com/milenaveneziani","followers_url":"https://api.github.com/users/milenaveneziani/followers","following_url":"https://api.github.com/users/milenaveneziani/following{/other_user}","gists_url":"https://api.github.com/users/milenaveneziani/gists{/gist_id}","starred_url":"https://api.github.com/users/milenaveneziani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milenaveneziani/subscriptions","organizations_url":"https://api.github.com/users/milenaveneziani/orgs","repos_url":"https://api.github.com/users/milenaveneziani/repos","events_url":"https://api.github.com/users/milenaveneziani/events{/privacy}","received_events_url":"https://api.github.com/users/milenaveneziani/received_events","type":"User","site_admin":false},"assignees":[{"login":"milenaveneziani","id":8237579,"avatar_url":"https://avatars2.githubusercontent.com/u/8237579?v=3","gravatar_id":"","url":"https://api.github.com/users/milenaveneziani","html_url":"https://github.com/milenaveneziani","followers_url":"https://api.github.com/users/milenaveneziani/followers","following_url":"https://api.github.com/users/milenaveneziani/following{/other_user}","gists_url":"https://api.github.com/users/milenaveneziani/gists{/gist_id}","starred_url":"https://api.github.com/users/milenaveneziani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milenaveneziani/subscriptions","organizations_url":"https://api.github.com/users/milenaveneziani/orgs","repos_url":"https://api.github.com/users/milenaveneziani/repos","events_url":"https://api.github.com/users/milenaveneziani/events{/privacy}","received_events_url":"https://api.github.com/users/milenaveneziani/received_events","type":"User","site_admin":false}],"milestone":null,"comments":13,"created_at":"2017-02-28T23:01:25Z","updated_at":"2017-03-01T20:46:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/MPAS-Dev/MPAS-Analysis/pulls/123","html_url":"https://github.com/MPAS-Dev/MPAS-Analysis/pull/123","diff_url":"https://github.com/MPAS-Dev/MPAS-Analysis/pull/123.diff","patch_url":"https://github.com/MPAS-Dev/MPAS-Analysis/pull/123.patch"},"body":"`ocean_modelvsobs` and `seaice_modelvsob`s have been updated to use `ncremap` to perform all horizontal interpolation operations. Theoretically, the comparison grid can be specified in the config, though presently we are not interpolating sea-ice observations, so the comparison grid must be the 0.5 degree global grid.\r\n\r\nInterpolation is performed in 2 steps, first creating mapping files (if they do not already exist) using `ESMF_RegridWeightGen` and second performing remapping of data using `ncremap`.\r\n\r\nNew helper functions have been added to create the SCRIP files needed to create mapping files with `ESMF_RegridWeightGen`.\r\n\r\nAll config files have been updated to include a new 'mapping' output subdirectory as well as several new config options related to climatologies:\r\n* `lat`, `lon` - the latitude and longitude of the comparison grid\r\n* `latLonUnits` - the units of lat and lon\r\n* `mpasMappingFile` - the path to a mapping file if one exists,\r\n                      otherwise the default `mpasClimatologyMapping.nc`\r\n* `overwriteMapping`, `overwriteClimatology` - flags for overwriting files\r\n* `modelInterpolationMethod`, `obsInterpolationMethod` - interpolation order\r\n\r\nUnit tests have been added to test horizontal interpolation."},"comment":{"url":"https://api.github.com/repos/MPAS-Dev/MPAS-Analysis/issues/comments/283464663","html_url":"https://github.com/MPAS-Dev/MPAS-Analysis/pull/123#issuecomment-283464663","issue_url":"https://api.github.com/repos/MPAS-Dev/MPAS-Analysis/issues/123","id":283464663,"user":{"login":"xylar","id":4179064,"avatar_url":"https://avatars3.githubusercontent.com/u/4179064?v=3","gravatar_id":"","url":"https://api.github.com/users/xylar","html_url":"https://github.com/xylar","followers_url":"https://api.github.com/users/xylar/followers","following_url":"https://api.github.com/users/xylar/following{/other_user}","gists_url":"https://api.github.com/users/xylar/gists{/gist_id}","starred_url":"https://api.github.com/users/xylar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xylar/subscriptions","organizations_url":"https://api.github.com/users/xylar/orgs","repos_url":"https://api.github.com/users/xylar/repos","events_url":"https://api.github.com/users/xylar/events{/privacy}","received_events_url":"https://api.github.com/users/xylar/received_events","type":"User","site_admin":false},"created_at":"2017-03-01T20:46:34Z","updated_at":"2017-03-01T20:46:34Z","body":"@milenaveneziani,\r\n>  But I think it created its own mapping file (Weight File: /global/project/projectdirs/acme/milena/beta0tests_newinterp/mapping/sstClimatologyMapping.nc), rather using the one I supplied as mpasMappingFile, which would explain why I got the error the first time when I didn't have nco installed.\r\n\r\nThe mapping file `sstClimatologyMapping.nc` is for mapping from the SST observations to the comparison grid.  This allows the observations to be on different grids that the 0.5x0.5 comparison grid.\r\n\r\nI'd like to do the same for the sea ice observations before we fulfill this PR.  That way, the user could change the comparison grid if they want something different.  For example, a 0.5x0.5 gird isn't high enough resolution for doing melt rate comparisons in Antarctica."}}
{"actor":{"display_login":"xylar"}}