--- include/netcdf.h.orig	2011-06-30 17:22:19.000000000 -0600
+++ include/netcdf.h	2011-07-21 00:03:51.000000000 -0600
@@ -198,12 +198,12 @@
  * applications and utilities.  However, nothing is statically allocated to
  * these sizes internally.
  */
-#define NC_MAX_DIMS	1024	 /* max dimensions per file */
+#define NC_MAX_DIMS	65536    /* max dimensions per file */
 #define NC_MAX_ATTRS	8192	 /* max global or per variable attributes */
-#define NC_MAX_VARS	8192	 /* max variables per file */
+#define NC_MAX_VARS	524288    /* max variables per file */
 #define NC_MAX_NAME	256	 /* max length of a name */
 /* As a rule, NC_MAX_VAR_DIMS <= NC_MAX_DIMS*/
-#define NC_MAX_VAR_DIMS	1024 /* max per variable dimensions */
+#define NC_MAX_VAR_DIMS	8    /* max per variable dimensions */
 
 /* This is the max size of an SD dataset name in HDF4. */
 #define NC_MAX_HDF4_NAME 64 /* From HDF4 documentation. */
