| gridtemplates.h | | gridtemplates.h | |
| | | | |
| skipping to change at line 35 | | skipping to change at line 35 | |
| // are stored with the left most bit set to one, and a negative number | | // are stored with the left most bit set to one, and a negative number | |
| // of octets value in mapgrid[] indicates that this possibility should | | // of octets value in mapgrid[] indicates that this possibility should | |
| // be considered. The number of octets used to store the data value | | // be considered. The number of octets used to store the data value | |
| // in this case would be the absolute value of the negative value in | | // in this case would be the absolute value of the negative value in | |
| // mapgrid[]. | | // mapgrid[]. | |
| // | | // | |
| // PROGRAM HISTORY LOG: | | // PROGRAM HISTORY LOG: | |
| // | | // | |
| // 2001-10-26 Gilbert | | // 2001-10-26 Gilbert | |
| // 2007-08-16 Vuong - Added GDT 3.204 Curvilinear Orthogonal Grid | | // 2007-08-16 Vuong - Added GDT 3.204 Curvilinear Orthogonal Grid | |
|
| | | // 2008-07-08 Vuong - Added GDT 3.32768 Rot Lat/Lon E-grid (Arakawa) | |
| // | | // | |
| //////////////////////////////////////////////////////////////////// | | //////////////////////////////////////////////////////////////////// | |
| | | | |
|
| #define MAXGRIDTEMP 24 // maximum number of templates | | #define MAXGRIDTEMP 25 // maximum number of templates | |
| #define MAXGRIDMAPLEN 200 // maximum template map length | | #define MAXGRIDMAPLEN 200 // maximum template map length | |
| | | | |
| struct gridtemplate | | struct gridtemplate | |
| { | | { | |
| g2int template_num; | | g2int template_num; | |
| g2int mapgridlen; | | g2int mapgridlen; | |
| g2int needext; | | g2int needext; | |
| g2int mapgrid[MAXGRIDMAPLEN]; | | g2int mapgrid[MAXGRIDMAPLEN]; | |
| }; | | }; | |
| | | | |
| | | | |
| skipping to change at line 92 | | skipping to change at line 93 | |
| // 3.90: Space View Perspective or orthographic | | // 3.90: Space View Perspective or orthographic | |
| {90, 21, 0, {1,1,4,1,4,1,4,4,4,-4,4,1,4,4,4,4,1,4,4,4,4} }, | | {90, 21, 0, {1,1,4,1,4,1,4,4,4,-4,4,1,4,4,4,4,1,4,4,4,4} }, | |
| // 3.100: Triangular grid based on an icosahedron | | // 3.100: Triangular grid based on an icosahedron | |
| {100, 11, 0, {1,1,2,1,-4,4,4,1,1,1,4} }, | | {100, 11, 0, {1,1,2,1,-4,4,4,1,1,1,4} }, | |
| // 3.110: Equatorial Azimuthal equidistant | | // 3.110: Equatorial Azimuthal equidistant | |
| {110, 16, 0, {1,1,4,1,4,1,4,4,4,-4,4,1,4,4,1,1} }, | | {110, 16, 0, {1,1,4,1,4,1,4,4,4,-4,4,1,4,4,1,1} }, | |
| // 3.120: Azimuth-range projection | | // 3.120: Azimuth-range projection | |
| {120, 7, 1, {4,4,-4,4,4,4,1} }, | | {120, 7, 1, {4,4,-4,4,4,4,1} }, | |
| // 3.204: Curvilinear Orthogonal Grid | | // 3.204: Curvilinear Orthogonal Grid | |
| {204, 19, 0, {1,1,4,1,4,1,4,4,4,4,4,-4,4,1,-4,4,4,4,1} }, | | {204, 19, 0, {1,1,4,1,4,1,4,4,4,4,4,-4,4,1,-4,4,4,4,1} }, | |
|
| | | // 3.32768: Rot Lat/Lon E-grid (Arakawa) | |
| | | {32768, 19, 0, {1,1,4,1,4,1,4,4,4,4,4,-4,4,1,-4,4,4,4,1} }, | |
| // 3.1000: Cross Section Grid | | // 3.1000: Cross Section Grid | |
| {1000, 20, 1, {1,1,4,1,4,1,4,4,4,4,-4,4,1,4,4,1,2,1,1,2} }, | | {1000, 20, 1, {1,1,4,1,4,1,4,4,4,4,-4,4,1,4,4,1,2,1,1,2} }, | |
| // 3.1100: Hovmoller Diagram Grid | | // 3.1100: Hovmoller Diagram Grid | |
| {1100, 28, 0, {1,1,4,1,4,1,4,4,4,4,-4,4,1,-4,4,1,4,1,-4,1,1,-4,2,1
,1,1,1,1} }, | | {1100, 28, 0, {1,1,4,1,4,1,4,4,4,4,-4,4,1,-4,4,1,4,1,-4,1,1,-4,2,1
,1,1,1,1} }, | |
| // 3.1200: Time Section Grid | | // 3.1200: Time Section Grid | |
| {1200, 16, 1, {4,1,-4,1,1,-4,2,1,1,1,1,1,2,1,1,2} } | | {1200, 16, 1, {4,1,-4,1,1,-4,2,1,1,1,1,1,2,1,1,2} } | |
| | | | |
| } ; | | } ; | |
| | | | |
| #endif /* _gridtemplates_H */ | | #endif /* _gridtemplates_H */ | |
| | | | |
End of changes. 3 change blocks. |
| 1 lines changed or deleted | | 4 lines changed or added | |
|