if(~exist('fname','var'));
    beep
    disp('ERROR: There needs to be a variable named "fname" in the workspace');
    return
end

rlon=nc_varget(fname,'lon_rho');
rlat=nc_varget(fname,'lat_rho');
mask=nc_varget(fname,'mask_rho');
