@Test
lic void writeDaymetGridToGeoTiffTest() {

    List<String> gridVariableList = Arrays.asList("prcp", "srad", "swe");   // DAYMET SET
    
    DateFormat format = new SimpleDateFormat("yyyy-MM-dd", Locale.ENGLISH);
    Date startDate = null;
    try {
        startDate = format.parse("2006-10-01");   // DAYMET TEST SET
    } catch (ParseException e) {}
    assertNotNull(startDate);
    
    Date endDate = null;
    try {
        endDate = format.parse("2007-10-01");   // DAYMET TEST SET
    } catch (ParseException e) {}
    assertNotNull(endDate);
    
    File testFile = null;
    try {
        testFile = GeoTiffUtils.generateGeoTiffZipFromGrid(daymetGridDataSet, gridVariableList, featureCollection, false, startDate, endDate, ".");
        testFile.delete();
        fail();
    } catch (GeoTiffUtilException e) {
        assertTrue(e.getMessage().contains("Exception: Unsupported projection"));
    }
}