--- src/gmt_shore.c	(revision 9787)
+++ src/gmt_shore.c	(working copy)
@@ -1145,7 +1145,7 @@
 		while (fgets (dir, BUFSIZ, fp)) {	/* Loop over all input lines until found or done */
 			GMT_chop (dir);		/* Chop off LF or CR/LF */
 			if (dir[0] == '#' || dir[0] == '\0') continue;	/* Comment or blank */
-			sprintf (path, "%s/%s%s", dir, stem, ".cdf");
+			sprintf (path, "%s/%s%s", dir, stem, ".nc");
 			if (!access (path, R_OK)) {
 				fclose (fp);
 				return (path);
@@ -1156,7 +1156,7 @@
 	
 	/* 2. Then check for the named file itself */
 
-	if (GMT_getsharepath ("coast", stem, ".cdf", path)) return (path);
+	if (GMT_getsharepath ("coast", stem, ".nc", path)) return (path);
 
 	return (NULL);
 }
