.. highlightlang:: us .. index:: GridGetVarids .. _gridgetvarids: GridGetVarids ============= .. us.tag GridGetVarids NOTREADYENGLISH New330 Changed360 Grid :ref:`GridGetVarids` returns a list of all variables displayed in the data browser grid. .. function:: varids = GridGetVarids() .. us.return **Return Value** *varids* is a vector with variable ID's or -1 for global attributes or -2 for an error. *varids* start with 0. .. us.comment **Comment** All functions starting with ``Grid`` access the data browser. If the browser dialog isn't open, these functions return an invalid value. .. seealso:: :ref:`overview-netcdf-browser`, :ref:`overview-netcdf-files` :sub:`id-636084`