{"action":"opened","issue":{"url":"https://api.github.com/repos/NOAA-PMEL/Ferret/issues/811","repository_url":"https://api.github.com/repos/NOAA-PMEL/Ferret","labels_url":"https://api.github.com/repos/NOAA-PMEL/Ferret/issues/811/labels{/name}","comments_url":"https://api.github.com/repos/NOAA-PMEL/Ferret/issues/811/comments","events_url":"https://api.github.com/repos/NOAA-PMEL/Ferret/issues/811/events","html_url":"https://github.com/NOAA-PMEL/Ferret/issues/811","id":276262777,"number":811,"title":"SHOW VAR/xml  does not list all variables ","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-23T04:16:45Z","updated_at":"2017-11-23T04:16:45Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"**Reported by Ansley B Manke on 24 Sep 2007 19:26 UTC**\nNotice how in the output of SHOW VAR/XML, the variable SST_2_REGRID is listed\ntwice, but temp_1_regrid is never listed.\n\n\n    yes? set data levitus_climatology\n    yes? set data coads_climatology\n\n    yes? let temp_1_regrid=temp[   yes? let sst_2_regrid=sst[d=2,t=\"15-Oct\":\"15-Dec\"@ave](d=1,z=5.00:75.00@ave]\n)\n    yes? let sst_final=sst_2_regrid[   yes? show var\n     Created by DEFINE VARIABLE:\n     >>> Definitions that replace any file variable of same name:\n         SST_FINAL = SST_2_REGRID[D=2,GXY=TEMP_1_REGRID[D=1](d=2,gxy=temp_1_regrid[d=1]]\n\n)]\n         SST_2_REGRID = SST[        TEMP_1_REGRID = TEMP[D=1,Z=5.00:75.00@AVE](D=2,T=\"15-Oct\":\"15-Dec\"@AVE]\n)\n\n    yes? show var/xml\n    <global>\n    <var name=\"SST_FINAL\" def=\"SST_2_REGRID[   <missing_value>-1.00000E+34</missing_value>\n    <grid name=\"(G003)\">\n    <axes>\n    <xaxis>XAXLEVITR</xaxis>\n    <yaxis>YAXLEVITR</yaxis>\n    </axes>\n    </grid>\n    </var>\n    <var name=\"SST_2_REGRID\"\ndef=\"SST[D=2,T=&quot;15-Oct&quot;:&quot;15-Dec&quot;@AVE](D=2,GXY=TEMP_1_REGRID[D=1]]\">\n)\">\n    <missing_value>-1.00000E+34</missing_value>\n    <grid name=\"GSQ1\">\n    <axes>\n    <xaxis>COADSX</xaxis>\n    <yaxis>COADSY</yaxis>\n    </axes>\n    </grid>\n    </var>\n    <var name=\"SST_2_REGRID\"\ndef=\"SST[D=2,T=&quot;15-Oct&quot;:&quot;15-Dec&quot;@AVE]\">\n    <missing_value>-1.00000E+34</missing_value>\n    <grid name=\"GSQ1\">\n    <axes>\n    <xaxis>COADSX</xaxis>\n    <yaxis>COADSY</yaxis>\n    </axes>\n    </grid>\n    </var>\n    </global>\n\n\n\n\n\nSHOW VAR/XML makes calls internally to get the grid information. This recomputes\ndeleted_list_result, so this list can no longer be used to step through all\nvariables. A kludgy fix is to just save the information in deleted_list_result\nonce it's found in xeq_show.F and use the saved copy to step through the list of\nvariables.\n\nMigrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/1539"}}
{"actor":{"display_login":"karlmsmith"}}