# import the jython library used import os homeDirectory=expandpath('~') dataDirectory=os.path.join(homeDirectory,'Data','McV','H8') # Add the filename to the data band1File=os.path.join(dataDirectory,'HS_H08_20150415_0420_B01_FLDK.subset.nc') # Initialize the loadGrid parameters. parms = dict( time=0, field='albedo', xStride = 5, yStride = 5, xRange = (100,200), yRange = (100,200) ) # load the data from the file h8b1=loadGrid(filename=band1File,**parms)