diff --git a/src/consts.h b/src/consts.h index 7e6faad..80afde8 100644 --- a/src/consts.h +++ b/src/consts.h @@ -5,12 +5,6 @@ #include // --------------------------- Basic Constants --------------------------- -// const int VOLUME_WIDTH = 576; // lon -const int VOLUME_WIDTH = 97; // lon -// const int VOLUME_HEIGHT = 361; // lat -const int VOLUME_HEIGHT = 71; // lat -const int VOLUME_DEPTH = 42; // lev - const int INITIAL_WINDOW_WIDTH = 1200; const int INITIAL_WINDOW_HEIGHT = 900; @@ -18,6 +12,16 @@ const double epsilon = 1e-10f; const double infty = 1e15f; // This value is used to represent missing values in data // --------------------------- Dataset Constants --------------------------- +// const int VOLUME_WIDTH = 576; // lon +const int VOLUME_WIDTH = 97; // lon +// const int VOLUME_HEIGHT = 361; // lat +const int VOLUME_HEIGHT = 71; // lat +const int VOLUME_DEPTH = 42; // lev + +const float DLON = 60.0f / VOLUME_WIDTH; // 60 for current trimmed data set range +const float DLAT = 35.0f / VOLUME_HEIGHT; // 35 for current trimmed data set range +const float DLEV = 1000.0f / VOLUME_DEPTH; // 1000 from max pressure (hPa) but not sure here + const float MIN_TEMP = 210.0f; const float MAX_TEMP = 240.0f;