GridGetNCID

GridGetNCID returns the current ncid or in case of an error -1.

ncid = GridGetNCID()

Return Value

ncid is the handle of an open NC file.

Comment

All functions starting with Grid access the data browser. If the browser dialog isn’t open, these functions return an invalid value. The nc file should not be closed with nc_close function. If you need to close the file use GridCloseNCID instead.

id-285315