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

Re: adcp profile testing



On 8/10/2010 8:56 AM, Ellyn Montgomery wrote:
Morning John-

Sorry, but I didn't get very far in trying to implement what we talked about last week before getting stuck.

The attached .jpg shows the error message. I also attached the .nc file that contains the data, and the .ncml that has the modifications. This attempts to re-dimension the variables, add standard_names where they exist, and change attribute names. I haven't started trying to remove any unnecessary attributes like valid*.

Please let me know what the error message suggests I should have done differently.

Many thanks! Ellyn

Hi ellyn:

attached is a corrected version. its feature type is timeSeriesProfile, and you need to name all the coordinates on the data variables, preffered form is:

<attribute name="coordinates" value="time depth lat lon" />

or

<attribute name="coordinates" value="time depth lat lon" />

as you can see.

unfortunately, i also found a bug, which i will fix hopefully today, so you will need to get teh latest 4.2 for this to work.

John

BTW, i will be on vacation for a few weeks. you should send durether questions to address@hidden so that theres at least a hopr they can be answeredd while im gone.
<?xml version="1.0" encoding="UTF-8"?>
<netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2"; 
location="8181adc-cft.nc">
  <attribute name="CF:FeatureType" value="timeSeriesProfile" />
  <variable name="u_1205" shape="time depth" type="float">
    <attribute name="coordinates" value="time depth lat lon" />
    <attribute name="standard_name" value="sea_water_x_velocity" />
    <attribute name="actual_minimum" type="float" value="-40.029522 -41.202824 
-42.396713 -41.811806 -41.736084 -42.162495 -41.59481 -42.828484 -41.99781 
-42.71268 -42.977997 -44.218956 -43.616875 -44.93893 -44.260643 -45.245884 
-45.816254 -46.233536 -44.576298 -43.68741 -44.832996 -45.2321 -43.209362 
-43.059513 -41.798904 -42.527447 -40.405308 -38.21135 -34.21984 -33.456398 
-32.19311 -30.88158 -31.230236 -33.49635 -35.383972 -41.219826 -47.195744 
-48.888893 -46.383987 -39.070095 -29.849186 -28.564243 -30.296585 -31.836916 
-31.26534 -28.092333 -28.137259 -31.430311 -34.293842 -47.066734 -43.660526 
-43.50696 -48.68717 -50.1661 -38.23924 -86.35061 -109.344536 -110.74847 
-123.895744 -138.8682 -145.94556 -147.00699 -150.8425" />
    <attribute name="actual_maximum" type="float" value="33.914616 34.175034 
35.04529 37.16731 37.924767 38.357304 39.126442 38.84521 40.45893 37.752056 
34.236614 33.975517 31.978287 34.09989 32.811367 29.928417 27.84652 26.325607 
26.177818 27.467367 26.751394 26.014324 26.340816 26.302649 26.353275 27.553516 
29.034142 29.330751 38.240536 32.575386 31.739391 30.036259 33.188095 34.961098 
37.145725 38.296112 42.316795 41.071632 39.397057 39.03037 33.983086 30.654053 
30.140753 34.883827 46.394974 40.392094 30.957407 39.089325 41.425182 32.778435 
29.52339 36.147522 36.22366 36.539032 37.612076 84.472015 92.26906 121.6519 
131.87544 138.08583 171.61937 179.84468 177.92303" />
  </variable>
  <variable name="v_1206" shape="time depth" type="float">
    <attribute name="coordinates" value="time depth lat lon" />
    <attribute name="standard__name" value="sea_water_y_velocity" />
    <attribute name="actual_minimum" type="float" value="-26.41758 -27.31757 
-28.092983 -28.490242 -29.409388 -29.724144 -30.972692 -33.054146 -35.175404 
-35.29884 -33.96261 -33.31639 -34.954792 -34.05677 -34.00875 -34.46814 
-33.348392 -34.50326 -34.28635 -34.18973 -34.4535 -34.105057 -34.493942 
-34.87815 -34.998737 -35.096455 -36.36766 -35.327393 -35.75698 -35.370296 
-36.61322 -39.911125 -42.8552 -44.052505 -48.426857 -50.102562 -48.670998 
-44.530308 -42.641468 -38.533783 -37.00379 -38.582935 -39.02732 -36.9252 
-38.448555 -42.00543 -36.548077 -37.71597 -39.467373 -38.93715 -40.845123 
-39.875492 -40.037334 -40.91781 -52.280148 -56.35652 -92.81061 -123.83173 
-136.18925 -144.3033 -159.30357 -181.85803 -186.39507" />
    <attribute name="actual_maximum" type="float" value="28.317955 28.94926 
28.981083 31.914543 31.208054 31.313677 33.002995 31.611544 35.621773 36.03459 
37.49315 39.036404 38.908844 39.090847 40.74195 39.301987 38.792763 39.583763 
42.136726 43.09293 42.62194 46.294163 43.72001 43.105167 43.293148 39.942863 
40.364086 39.378265 39.25669 39.218384 38.29832 37.294792 38.223408 38.285053 
39.753063 39.05549 39.229942 38.586308 41.296577 42.226162 40.973934 42.994648 
37.503246 35.454464 38.544357 36.884483 36.293545 39.484234 40.369144 40.92884 
44.719055 40.03131 40.078 52.853035 59.608704 53.83821 82.209854 119.550896 
132.15099 146.66713 150.9157 150.24786 149.67996" />
  </variable>
  <variable name="w_1204" shape="time depth" type="float">
    <attribute name="coordinates" value="time depth lat lon" />
    <attribute name="actual_minimum" type="float" value="-2.9620965 -2.7733996 
-2.66436 -2.99792 -3.7086558 -4.0055504 -3.7605228 -3.1865559 -4.676841 -5.3199 
-6.01901 -5.3333187 -6.422515 -7.346592 -7.3283296 -7.0597267 -8.473254 
-9.551659 -8.486285 -9.208928 -9.751308 -9.528141 -8.178707 -7.4295974 
-6.388377 -7.031111 -5.9341345 -6.173108 -5.4932003 -4.0769877 -3.7747319 
-3.8198102 -3.2752783 -3.6657803 -3.2059212 -3.7317352 -4.6881948 -3.7235086 
-4.3370323 -3.9470217 -3.649477 -3.9207408 -3.6606486 -3.608217 -4.1417623 
-5.1935086 -5.5283346 -4.1127005 -3.7708225 -4.989581 -6.2323647 -6.362863 
-7.202051 -5.8689733 -7.1938114 -18.549946 -25.220858 -13.573747 -12.205819 
-18.864222 -21.098808 -31.970633 -33.024223" />
    <attribute name="actual_maximum" type="float" value="1.0265408 1.4446291 
1.4817547 1.2099023 1.6626155 1.4421281 1.7703748 1.8933902 1.9883847 1.8741871 
1.9726964 2.3232112 2.368813 2.7272282 2.6447723 2.5519674 2.6496809 2.737465 
2.43689 1.8603708 2.2664385 2.4928179 2.5625834 2.7992728 2.6557405 2.7782845 
3.0859818 3.4099102 3.5007129 3.8646872 3.025313 2.5451005 2.3378086 2.2792404 
2.5932703 3.1877613 2.6975853 2.1318538 2.6045594 2.2730844 2.6597948 2.4483266 
2.7162895 3.0525746 3.203181 4.0879884 4.7095003 3.8326542 4.6322346 3.5615826 
3.8974109 10.687899 12.632841 11.8069 10.6267805 24.196234 24.954296 19.907948 
16.333979 22.260912 14.701643 21.274101 21.529324" />
  </variable>
  <variable name="Werr_1201" shape="time depth" type="float">
    <attribute name="coordinates" value="time depth lat lon" />
    <attribute name="actual_minimum" type="float" value="-2.5000482 -2.0999432 
-2.149882 -1.9500306 -2.1997948 -2.1499388 -2.150192 -2.6999083 -2.2497163 
-2.1000087 -3.5000174 -2.3001964 -2.400026 -2.6002662 -2.800013 -2.8499084 
-3.0002224 -2.8002532 -3.250192 -2.450205 -2.6996422 -2.5498996 -2.7999783 
-2.7999475 -2.5999694 -2.2997775 -2.549856 -2.7498517 -3.0996377 -3.6995244 
-4.249651 -2.8998342 -3.549712 -3.55024 -3.0494807 -4.150048 -3.7001004 
-4.599965 -4.2498474 -3.3993192 -6.60024 -6.0502443 -6.450231 -4.2002006 
-4.8005543 -4.450724 -4.8499694 -4.1506763 -6.70079 -5.650183 -6.8002267 
-5.799712 -9.199271 -7.401226 -15.850497 -17.55007 -18.199987 -21.500298 
-17.697884 -25.451042 -39.601322 -37.50038 -35.45047" />
    <attribute name="actual_maximum" type="float" value="2.0500174 2.0500393 
2.1999345 2.0001178 2.0500524 3.750061 2.150048 2.3999214 2.0000567 2.500266 
2.6499825 2.5999215 2.249987 2.2999563 2.5999389 2.5000656 2.650131 2.550157 
3.6999738 4.249974 2.9500349 4.34986 4.899974 3.300013 2.5498211 2.6998823 
2.749834 3.0999258 2.7502837 4.2503448 4.1004014 3.2497904 4.649869 3.299769 
4.0002704 3.8504188 5.249677 7.749821 3.8999739 3.3502748 4.3003798 4.5503273 
4.3997335 4.049747 5.2505627 5.050174 4.799747 4.3502226 4.7998514 5.19983 
5.900371 6.349494 6.0000086 8.050017 10.549546 14.849743 22.899948 22.99979 
22.850204 19.99883 30.200354 29.899624 24.201174" />
  </variable>
  <variable name="AGC_1202" shape="time depth" type="float">
    <attribute name="coordinates" value="time depth lat lon" />
    <attribute name="actual_minimum" type="float" value="105.0 105.5 102.25 
97.5 93.5 90.5 88.5 85.25 83.75 79.75 77.75 75.5 73.25 70.25 67.75 66.5 65.5 
64.25 63.25 62.25 60.5 59.5 59.25 58.0 57.5 57.25 57.5 57.75 58.5 58.75 60.0 
60.75 61.25 61.0 60.25 59.0 58.75 58.5 58.0 58.5 60.25 62.25 59.0 55.25 53.0 
52.0 50.75 50.0 50.5 49.25 49.75 50.5 48.75 48.25 47.75 70.75 69.5 70.75 76.0 
73.5 63.0 57.75 53.25" />
    <attribute name="actual_maximum" type="float" value="153.0 155.75 152.5 
149.5 146.5 143.75 141.25 141.75 140.25 138.5 135.5 133.5 133.75 133.0 127.75 
123.75 126.75 125.0 125.0 125.0 127.25 127.5 136.0 143.75 149.0 149.0 148.5 
149.25 150.5 150.25 148.5 146.0 142.75 139.0 136.25 136.0 133.5 132.0 133.75 
134.75 136.0 138.5 139.5 139.5 139.5 137.25 137.75 141.0 152.0 156.0 156.25 
155.5 154.0 152.75 152.75 154.5 163.5 179.25 191.75 192.5 191.0 181.0 166.5" />
  </variable>
  <variable name="PGd_1203" shape="time depth" type="float">
    <attribute name="coordinates" value="time depth lat lon" />
    <attribute name="actual_minimum" type="float" value="88.25 82.5 77.5 74.0 
62.25 37.0 51.25 58.75 56.25 39.75 33.0 50.75 50.0 49.5 49.0 56.5 61.5 64.5 
42.75 56.0 35.0 38.5 25.75 44.0 38.75 33.25 33.25 34.5 31.75 37.0 64.75 48.75 
72.25 53.75 66.25 58.0 54.5 42.0 42.75 36.0 34.0 37.5 35.5 21.0 0.0 0.0 0.0 0.0 
0.0 0.0 14.0 20.0 18.75 17.5 0.75 10.0 35.0 0.0 0.0 0.0 0.0 0.0 0.0" />
    <attribute name="actual_maximum" type="float" value="100.0 100.0 100.0 
100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 
100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 
100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 
100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0 
100.0 100.0 100.0 100.0 100.0 100.0 100.0 100.0" />
  </variable>
  <variable name="hght_18" shape="time" type="float">
    <attribute name="coordinates" value="time lat lon" />
    <attribute name="actual_minimum" type="float" value="55.85" />
    <attribute name="actual_maximum" type="float" value="63.24" />
  </variable>
  <variable name="Tx_1211" shape="time" type="float">
    <attribute name="coordinates" value="time lat lon" />
    <attribute name="standard_name" value="sea_water_temperature" />
    <attribute name="long_name" value="ADCP Transducer Temp." />
    <attribute name="actual_minimum" type="float" value="6.29" />
    <attribute name="actual_maximum" type="float" value="8.63" />
  </variable>
  <variable name="site" shape="site_strlen" type="char">
    <attribute name="standard_name" value="station_id" />
  </variable>
</netcdf>