[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fwd: Re: [netCDFJava #XIR-445342]: Problem with netCDF-Java CoordinateAxis returning wrong values



Hi Tom:

my new algorithm now does this with the troubling rows:


6612: -153.953491, -153.952591, -153.951706, -153.950836, -153.949982, -153.949127, -153.948303, -153.947495, -153.946686, -153.945892, -153.945114, -153.944336, -153.943588, -153.942825, -153.942093, -153.941360, -153.940628, -153.939911, -153.939209, -153.938507, -153.937805, -153.937119, -153.936432, -153.935760, -153.935089, -153.934433, -153.933777, -153.933121, -153.932480, -153.931839, -153.931198, -153.930557, -153.929932, -153.929321, -153.928696, -153.928085, -153.927475, -153.926865, -153.926270, -153.925674, -153.925079, -153.924484, -153.923904, -153.923325, -153.922745, -153.922165, -153.921585, -153.921021, -153.920456, -153.919891, -153.919327, -153.918762, -153.918213, -153.917664, -153.917099, -153.916550, -153.916016, -153.915466, -153.914917, -153.914383, -153.913849, -153.913315, -153.912781, -153.912247, -153.911713, -153.911179, -153.910660, -153.910126, -153.909607, -153.909088, -153.908569, -153.908051, -153.907532, -153.907013, -153.906494, -153.905975, -153.905472, -153.904953, -153.904449, -153.903931, -153.903427, -153.902924, -153.902405, -153.901901, -153.901398, -153.900894, -153.900391, -153.899887, -153.899384, -153.898880, -153.898392, -153.897888, -153.897385, -153.896881, -153.896393, -153.895889, -153.895386, -153.894897, -153.894394, -153.893890, -153.893402, -153.892899, -153.892410, -153.891907, -153.891403, -153.890915, -153.890411, -153.889923, -153.889420, -153.888931, -153.888428, -153.887924, -153.887436, -153.886932, -153.886429, -153.885941, -153.885437, -153.884933, -153.884430, -153.883926, -153.883423, -153.882919, -153.882416, -153.881912, -153.881409, -153.880905, -153.880402, -153.879898, -153.879395, -153.878876, -153.878372, -153.877853, -153.877350, -153.876831, -153.876312, -153.875793, -153.875290, -153.874771, -153.874252, -153.873718, -153.873199, -153.872681, -153.872147, -153.871628, -153.871094, -153.870575, -153.870041, -153.869507, -153.868973, -153.868423, -153.867889, -153.867355, -153.866806, -153.866257, -153.865707, -153.865158, -153.864609, -153.864059, -153.863510, -153.862946, -153.862381, -153.861816, -153.861252, -153.860687, -153.860107, -153.859543, -153.858963, -153.858383, -153.857803, -153.857224, -153.856628, -153.856033, -153.855438, -153.854843, -153.854248, -153.853638, -153.853027, -153.852417, -153.851807, -153.851181, -153.850571, -153.849945, -153.849304, -153.848679, -153.848038, -153.847397, -153.846741, -153.846100, -153.845444, -153.844788, -153.844116, -153.843445, -153.842773, -153.842102, -153.841415, -153.840729, -153.840027, -153.839325, -153.838623, -153.837921, -153.837204, -153.836487, -153.835754, -153.835022, -153.834290, -153.833542, -153.832779, -153.832031, -153.831268, -153.830490, -153.829712, -153.828934, -153.828140, -153.827332, -153.826523, -153.825714, -153.824890, -153.824066, -153.823227, -153.822372, -153.821518, -153.820663, -153.819778, -153.818909, -153.818008, -153.817108, -153.816193, -153.815277, -153.814346, -153.813416, -153.812454, -153.811493, -153.810516, -153.809540, -153.808548, -153.807541, -153.806519, -153.805481, -153.804443, -153.803391, -153.802307, -153.801224, -153.800140, -153.799026, -153.797897, -153.796753, -153.795593, -153.794418, -153.793243, -153.792038, -153.790817, -153.789566, -153.788315, -153.787048, -153.785751, -153.784439, -153.783112, -153.781754, -153.780380, -153.778992, -153.777573, -153.776138, -153.774673, -153.773193, -153.771683, -153.770142, -153.768585, -153.766998, -153.765396, -153.763748, -153.762085, -153.760376, -153.758652, -153.756897, -153.755096, -153.753265, -153.751404, -153.749512, -153.747574, -153.745605, -153.743607, -153.741547, -153.739456, -153.737320, -153.735138, -153.732910, -153.730637, -153.728317, -153.725952, -153.723526, -153.721039, -153.718506, -153.715912, -153.713242, -153.710526, -153.707733, -153.704880, -153.701965, -153.698959, -153.695877, -153.692719, -153.689484, -153.686157, -153.682739, -153.679230, -153.675613, -153.671906, -153.668076, -153.664154, -153.660095, -153.655914, -153.651611, -153.647171, -153.642593, -153.637863, -153.632965, -153.627914, -153.622681, -153.617264, -153.611664, -153.605850, -153.599823, -153.593552, -153.587051, -153.580292, -153.573257, -153.565933, -153.558304, -153.550323, -153.542007, -153.533310, -153.524216, -153.514679, -153.504684, -153.494171, -153.483139, -153.471512, -153.459244, -153.446304, -153.432602, -153.418106, -153.402710, -153.386337, -153.368896, -153.350281, -153.330353, -153.308975, -153.285980, -153.261185, -153.234360, -153.205231, -153.173508, -153.138824, -153.100723, -153.058701, -153.012085, -152.960083, -152.901703, -152.835709, -152.760483, -152.673935, -152.573288, -152.454803, -152.313248, -152.141174, -151.927475, -151.654953, -151.295456, -150.799408, -150.070877, -148.896774, -146.691132, -141.069000, -105.116974, 5.339879, 16.867168, 20.193335, 21.761230, 22.672321, 23.267620, 23.687019, 23.998447, 24.238857, 24.430073, 24.585806, 24.715109, 24.824200, 24.917486, 24.998180, 25.068682, 25.130819, 25.186005, 25.235352, 25.279751, 25.319916, 25.356434, 25.389790, 25.420380, 25.448545, 25.474569, 25.498692, 25.521124, 25.542042, 25.561602, 25.579939, 25.597170, 25.613401, 25.628723, 25.643215,


6613: -154.027771, -154.027634, -154.027481, -154.027344, -154.027206, -154.027084, -154.026947, -154.026825, -154.026703, -154.026581, -154.026474, -154.026367, -154.026260, -154.026154, -154.026047, -154.025940, -154.025848, -154.025757, -154.025650, -154.025558, -154.025482, -154.025391, -154.025299, -154.025223, -154.025146, -154.025055, -154.024979, -154.024902, -154.024826, -154.024765, -154.024689, -154.024628, -154.024551, -154.024490, -154.024429, -154.024368, -154.024307, -154.024246, -154.024185, -154.024124, -154.024078, -154.024017, -154.023972, -154.023911, -154.023865, -154.023819, -154.023773, -154.023727, -154.023682, -154.023636, -154.023590, -154.023544, -154.023514, -154.023468, -154.023438, -154.023392, -154.023361, -154.023331, -154.023285, -154.023254, -154.023224, -154.023193, -154.023163, -154.023132, -154.023102, -154.023071, -154.023056, -154.023026, -154.022995, -154.022980, -154.022949, -154.022934, -154.022919, -154.022888, -154.022873, -154.022858, -154.022842, -154.022827, -154.022812, -154.022797, -154.022781, -154.022766, -154.022751, -154.022736, -154.022720, -154.022720, -154.022705, -154.022690, -154.022690, -154.022675, -154.022675, -154.022659, -154.022659, -154.022659, -154.022659, -154.022644, -154.022644, -154.022644, -154.022644, -154.022644, -154.022644, -154.022644, -154.022644, -154.022644, -154.022644, -154.022644, -154.022659, -154.022659, -154.022659, -154.022675, -154.022675, -154.022675, -154.022690, -154.022690, -154.022705, -154.022720, -154.022720, -154.022736, -154.022751, -154.022751, -154.022766, -154.022781, -154.022797, -154.022812, -154.022827, -154.022842, -154.022858, -154.022873, -154.022888, -154.022903, -154.022919, -154.022934, -154.022949, -154.022980, -154.022995, -154.023010, -154.023026, -154.023056, -154.023071, -154.023102, -154.023117, -154.023148, -154.023163, -154.023193, -154.023209, -154.023239, -154.023270, -154.023285, -154.023315, -154.023346, -154.023376, -154.023392, -154.023422, -154.023453, -154.023483, -154.023514, -154.023544, -154.023575, -154.023605, -154.023636, -154.023666, -154.023697, -154.023743, -154.023773, -154.023804, -154.023834, -154.023865, -154.023911, -154.023941, -154.023972, -154.024017, -154.024048, -154.024094, -154.024124, -154.024170, -154.024200, -154.024246, -154.024277, -154.024323, -154.024368, -154.024399, -154.024445, -154.024490, -154.024521, -154.024567, -154.024612, -154.024658, -154.024704, -154.024750, -154.024796, -154.024841, -154.024887, -154.024933, -154.024979, -154.025024, -154.025070, -154.025116, -154.025162, -154.025208, -154.025253, -154.025314, -154.025360, -154.025406, -154.025467, -154.025513, -154.025558, -154.025620, -154.025665, -154.025711, -154.025772, -154.025818, -154.025879, -154.025940, -154.025986, -154.026047, -154.026093, -154.026154, -154.026215, -154.026276, -154.026321, -154.026382, -154.026443, -154.026505, -154.026566, -154.026611, -154.026672, -154.026733, -154.026794, -154.026855, -154.026917, -154.026978, -154.027054, -154.027115, -154.027176, -154.027237, -154.027298, -154.027359, -154.027435, -154.027496, -154.027557, -154.027634, -154.027695, -154.027771, -154.027832, -154.027908, -154.027969, -154.028046, -154.028107, -154.028183, -154.028244, -154.028320, -154.028397, -154.028473, -154.028534, -154.028610, -154.028687, -154.028763, -154.028839, -154.028915, -154.028992, -154.029068, -154.029144, -154.029221, -154.029297, -154.029373, -154.029449, -154.029541, -154.029617, -154.029694, -154.029785, -154.029861, -154.029938, -154.030029, -154.030106, -154.030197, -154.030289, -154.030365, -154.030457, -154.030548, -154.030640, -154.030716, -154.030807, -154.030899, -154.030991, -154.031082, -154.031174, -154.031281, -154.031372, -154.031464, -154.031555, -154.031662, -154.031754, -154.031860, -154.031952, -154.032059, -154.032150, -154.032257, -154.032364, -154.032471, -154.032578, -154.032684, -154.032791, -154.032898, -154.033020, -154.033127, -154.033249, -154.033356, -154.033478, -154.033600, -154.033707, -154.033829, -154.033951, -154.034088, -154.034210, -154.034332, -154.034470, -154.034607, -154.034744, -154.034882, -154.035019, -154.035156, -154.035309, -154.035446, -154.035599, -154.035751, -154.035904, -154.036072, -154.036240, -154.036407, -154.036575, -154.036758, -154.036926, -154.037125, -154.037308, -154.037506, -154.037704, -154.037918, -154.038132, -154.038361, -154.038589, -154.038834, -154.039093, -154.039352, -154.039627, -154.039902, -154.040207, -154.040527, -154.040863, -154.041214, -154.041595, -154.041992, -154.042419, -154.042877, -154.043381, -154.043915, -154.044495, -154.045151, -154.045868, -154.046661, -154.047546, -154.048569, -154.049728, -154.051071, -154.052673, -154.054596, -154.056961, -154.059952, -154.063873, -154.069229, -154.077087, -154.089691, -154.113434, -154.175018, -154.730240, 26.193007, 26.061560, 26.025600, 26.008755, 25.998955, 25.992525, 25.987967, 25.984556, 25.981897, 25.979761, 25.978001, 25.976521, 25.975254, 25.974154, 25.973185, 25.972324, 25.971552, 25.970852, 25.970213, 25.969625, 25.969084, 25.968576, 25.968103, 25.967659, 25.967239, 25.966841, 25.966461, 25.966097, 25.965750, 25.965414, 25.965092, 25.964777, 25.964474, 25.964178, 25.963888,

6614: -154.102066, -154.102661, -154.103271, -154.103867, -154.104446, -154.105026, -154.105591, -154.106171, -154.106720, -154.107285, -154.107834, -154.108383, -154.108932, -154.109467, -154.110001, -154.110535, -154.111069, -154.111588, -154.112106, -154.112625, -154.113144, -154.113663, -154.114166, -154.114685, -154.115189, -154.115692, -154.116196, -154.116699, -154.117203, -154.117691, -154.118195, -154.118683, -154.119171, -154.119659, -154.120163, -154.120651, -154.121124, -154.121613, -154.122101, -154.122589, -154.123062, -154.123550, -154.124039, -154.124512, -154.125000, -154.125473, -154.125946, -154.126434, -154.126907, -154.127380, -154.127853, -154.128342, -154.128815, -154.129288, -154.129761, -154.130234, -154.130707, -154.131180, -154.131653, -154.132126, -154.132599, -154.133087, -154.133560, -154.134033, -154.134506, -154.134979, -154.135452, -154.135925, -154.136398, -154.136871, -154.137344, -154.137833, -154.138306, -154.138779, -154.139252, -154.139740, -154.140213, -154.140686, -154.141174, -154.141647, -154.142120, -154.142609, -154.143082, -154.143570, -154.144058, -154.144531, -154.145020, -154.145508, -154.145981, -154.146469, -154.146957, -154.147446, -154.147934, -154.148422, -154.148926, -154.149414, -154.149902, -154.150391, -154.150894, -154.151382, -154.151886, -154.152390, -154.152878, -154.153381, -154.153885, -154.154388, -154.154892, -154.155396, -154.155899, -154.156418, -154.156921, -154.157440, -154.157944, -154.158463, -154.158981, -154.159500, -154.160019, -154.160538, -154.161057, -154.161575, -154.162109, -154.162628, -154.163162, -154.163696, -154.164230, -154.164764, -154.165298, -154.165833, -154.166382, -154.166916, -154.167465, -154.168015, -154.168564, -154.169113, -154.169662, -154.170227, -154.170776, -154.171341, -154.171906, -154.172470, -154.173035, -154.173599, -154.174179, -154.174759, -154.175339, -154.175919, -154.176498, -154.177078, -154.177673, -154.178253, -154.178848, -154.179443, -154.180054, -154.180649, -154.181259, -154.181870, -154.182480, -154.183090, -154.183716, -154.184326, -154.184952, -154.185593, -154.186218, -154.186859, -154.187485, -154.188141, -154.188782, -154.189423, -154.190079, -154.190735, -154.191406, -154.192062, -154.192734, -154.193405, -154.194092, -154.194763, -154.195450, -154.196152, -154.196838, -154.197540, -154.198242, -154.198959, -154.199661, -154.200378, -154.201111, -154.201828, -154.202576, -154.203308, -154.204056, -154.204803, -154.205551, -154.206314, -154.207077, -154.207855, -154.208633, -154.209412, -154.210205, -154.210999, -154.211792, -154.212601, -154.213409, -154.214233, -154.215057, -154.215897, -154.216736, -154.217590, -154.218445, -154.219299, -154.220169, -154.221054, -154.221939, -154.222824, -154.223724, -154.224640, -154.225555, -154.226486, -154.227417, -154.228363, -154.229309, -154.230270, -154.231247, -154.232224, -154.233215, -154.234222, -154.235229, -154.236252, -154.237274, -154.238327, -154.239380, -154.240433, -154.241516, -154.242599, -154.243698, -154.244812, -154.245926, -154.247070, -154.248215, -154.249374, -154.250549, -154.251740, -154.252945, -154.254166, -154.255402, -154.256638, -154.257904, -154.259186, -154.260483, -154.261795, -154.263123, -154.264465, -154.265839, -154.267212, -154.268616, -154.270035, -154.271484, -154.272934, -154.274414, -154.275925, -154.277435, -154.278992, -154.280563, -154.282150, -154.283768, -154.285400, -154.287079, -154.288757, -154.290482, -154.292236, -154.294006, -154.295807, -154.297638, -154.299515, -154.301407, -154.303329, -154.305298, -154.307297, -154.309326, -154.311401, -154.313507, -154.315659, -154.317841, -154.320068, -154.322342, -154.324661, -154.327026, -154.329437, -154.331909, -154.334412, -154.336975, -154.339600, -154.342270, -154.345001, -154.347809, -154.350662, -154.353577, -154.356583, -154.359634, -154.362778, -154.365982, -154.369278, -154.372650, -154.376099, -154.379654, -154.383286, -154.387024, -154.390869, -154.394806, -154.398865, -154.403030, -154.407333, -154.411743, -154.416290, -154.420990, -154.425827, -154.430817, -154.435974, -154.441284, -154.446793, -154.452484, -154.458374, -154.464462, -154.470779, -154.477341, -154.484146, -154.491211, -154.498566, -154.506210, -154.514175, -154.522476, -154.531128, -154.540176, -154.549652, -154.559555, -154.569931, -154.580826, -154.592285, -154.604324, -154.617020, -154.630417, -154.644562, -154.659561, -154.675461, -154.692352, -154.710327, -154.729523, -154.750046, -154.772064, -154.795715, -154.821228, -154.848801, -154.878723, -154.911301, -154.946899, -154.985992, -155.029099, -155.076874, -155.130157, -155.189957, -155.257538, -155.334534, -155.423111, -155.526062, -155.647217, -155.791931, -155.967819, -156.186188, -156.464600, -156.831787, -157.338333, -158.082108, -159.280396, -161.530365, -167.257996, -203.448914, 47.010693, 35.255604, 31.858505, 30.256828, 29.326006, 28.717749, 28.289164, 27.970863, 27.725100, 27.529587, 27.370310, 27.238028, 27.126390, 27.030893, 26.948256, 26.876024, 26.812336, 26.755747, 26.705116, 26.659540, 26.618284, 26.580751, 26.546448, 26.514965, 26.485958, 26.459135, 26.434250, 26.411091, 26.389475, 26.369244, 26.350260, 26.332399, 26.315561, 26.299646, 26.284573,

this last one may be a problem -167.257996, -203.448914, 47.010693 ??

anyway, the whole point is to deal with the longitude seam, to prevent the grid points from apparently overlapping due to the modulo 360 thing. this particular case is pushing the limits of that logic. Im not really sure if this grid conforms to the CDM requirement for coordinates. ill have to write some test code to analyze it.

this fix will be in 4.3.18 by next week.

John

On 7/2/2013 11:24 AM, Tom Whittaker wrote:
I do think it's legitimate - it's pretty much going across the pole:

longitude(6612:6612:1, 365:380:1)
   {-151.92747, -151.65495, -151.29546, -150.79941, -150.07088,
-148.89677, -146.69113, -141.069, -105.116974, 5.3398786, 16.867168,
20.193335, 21.76123, 22.672321, 23.26762, 23.68702}

latitude(6612:6612:1, 365:380:1)
   {-89.22333, -89.3125, -89.40289, -89.49457, -89.587494, -89.6817,
-89.77707, -89.87305, -89.96222, -89.91919, -89.82007, -89.71716,
-89.61212, -89.50516, -89.39627, -89.28543}

I think it's less about a delta-longitude and more about a physical
distance....but you probably don't want to be computing distances all
the time.

...but I obviously don't understand the issues -- why do you have to
fiddle with the longitude values that are in the file and are within
the "valid_range"?

Thanks again for your help with this stuff...

tom


On Tue, Jul 2, 2013 at 10:58 AM, John Caron <address@hidden> wrote:
so you think that the grid lon really jumps from -105.116974 to 5.3398786 ?
what do you think the maximum legitimate jump is?

i think i can improve algorithm to eliminate addding the +/- 360 when it
doesnt create a close number to the previous.


On 7/2/2013 8:20 AM, Tom Whittaker wrote:

Hi John ...

Thanks for taking a look.  What I see from a ToolsUI dump of row 6612,
though, is that when your output shows a jump to -354, the data in the
file shows +5.3398...:

-150.07088, -148.89677, -146.69113, -141.069, -105.116974, 5.3398786,
16.867168, 20

So this is a line that is near the pole and changing longitudes
rapidly....but the longitude shouldn't be -354, should it?  If the
valid_range is give as -180:+180, then I would think (in my naive way)
that this should say there is no seam when crossing 0....  Now if the
valid_range were 0:360, then I could see doing a modulo 360 or
something.

Is there any hope to get this "fixed"?

Thanks.

tom


heres a problem where -105.116974 jumps to -354.660121, seems to be in the data (modulo 360):

6612: -153.953491, -153.952591, -153.951706, -153.950836, -153.949982,
-153.949127, -153.948303, -153.947495, -153.946686, -153.945892,

.....

-152.673935, -152.573288, -152.454803, -152.313248, -152.141174, -151.927475, -151.654953, -151.295456, -150.799408, -150.070877, -148.896774, -146.691132, -141.069000, -105.116974, -354.660121, -343.132832, -339.806665, -338.238770, -337.327679, -336.732380,



-- Tom Whittaker University of Wisconsin-Madison Space Science & Engineering Center (SSEC) Cooperative Institute for Meteorological Satellite Studies (CIMSS) 1225 W. Dayton Street Madison, WI 53706 USA ph: +1 608 262 2759







NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.