{"action":"opened","issue":{"url":"https://api.github.com/repos/NOAA-PMEL/Ferret/issues/100","repository_url":"https://api.github.com/repos/NOAA-PMEL/Ferret","labels_url":"https://api.github.com/repos/NOAA-PMEL/Ferret/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/NOAA-PMEL/Ferret/issues/100/comments","events_url":"https://api.github.com/repos/NOAA-PMEL/Ferret/issues/100/events","html_url":"https://github.com/NOAA-PMEL/Ferret/issues/100","id":275880089,"number":100,"title":"Strides on irregular axes erroneoulsy reuse older dyn axis","user":{"login":"karlmsmith","id":16406727,"avatar_url":"https://avatars0.githubusercontent.com/u/16406727?v=4","gravatar_id":"","url":"https://api.github.com/users/karlmsmith","html_url":"https://github.com/karlmsmith","followers_url":"https://api.github.com/users/karlmsmith/followers","following_url":"https://api.github.com/users/karlmsmith/following{/other_user}","gists_url":"https://api.github.com/users/karlmsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/karlmsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlmsmith/subscriptions","organizations_url":"https://api.github.com/users/karlmsmith/orgs","repos_url":"https://api.github.com/users/karlmsmith/repos","events_url":"https://api.github.com/users/karlmsmith/events{/privacy}","received_events_url":"https://api.github.com/users/karlmsmith/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-21T22:22:57Z","updated_at":"2017-11-21T22:22:57Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"**Reported by hankin on 8 Mar 2001 17:18 UTC**\n! err522_irreg_strides.jnl\n! *sh* 3/01 - reported by Keith Dixon\n\n! strides taken on an irregular axis lead to errors\n! if a different set of stride conditions are used, the previous\n! dynamic axis, if it still exists, gets erroneously reused\n\n! the error is due to a serious bug in tm_same_line_def, which after\n! a 10/00 change, no longer checked the coordinates of an irregular\n! strides axis at all!\n\n\n! create an example 17 year monthly data file\n! this example creates a true monthly irregular axis\nlet month = MOD(l-1,12)+1\nlet add_year = INT((l-1)/12)\nlet tstep = DAYS1900(1980+add_year,month,1)\ndefine axis/T/units=days/t0=1-jan-1900/edges t17 = tstep[t_ref = T[gt=t17](l=1:`17*12+1`]\nlet)\nsave/file=keith_strides.cdf/clobber/rigid t_ref\n\n! create an example 17 year monthly data file\n! this example creates a quick and dirty regular axis\n!define axis/t=15-jan-1981:15-dec-1997/npoints=`17*12` t17\n!let t_ref = T[t_ref\ncanc var/all\n\n\n! test the problem\nuse keith_strides.cdf\nlet tmodel=t_ref[x=-180:180,l=1:193:12,d=1](gt=t17]\n!save/file=keith_strides.cdf/clobber)\nlist tmodel\nshow grid\n\n! this does not show an error\n!let tmodel=t_ref[tmodel\n!show grid\n\nlet tmodel2=t_ref[x=-180:180,l=7:199:12,d=1](x=-180:180,l=7:199:12,d=1]\n!list)\nlist tmodel2\nshow grid\n\nMigrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/233"}}
{"actor":{"display_login":"karlmsmith"}}