xml file should be in same dir as nc file