This function sets tile cache parameters.
Result = EOS_GD_SETTILECACHE(gridID, fieldname, maxcache, cachecode)
Returns SUCCEED(0) if successful and FAIL(-1) otherwise.
Grid id (long) returned by EOS_GD_CREATE or EOS_GD_ATTACH.
Maximum number of tiles (long) to cache in memory.
Currently must be set to 0 (long).
In this example, we set maxcache to 10 tiles. The particular subsetting envisioned for the Spectra field (defined in the EOS_GD_DEFTILE example) would never cross more than 10 tiles along the field's fastest varying dimension, i.e., XDim.
status = EOS_GD_SETTILECACHE(gridID, "Spectra", 10, 0)