<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Courier New;color: #000000;font-size: 10pt;">
Scott,<br>
<br>
It's been a while since I've really looked at the CF convention, so apologies if I say something that is not quite right.<br>
<br>
It looks like you have not specified your coordinate variables correctly. You have variables lat, lon, x_disp, y_disp, and z_disp that look like they are supposed to be coordinate variables, but they are not according the CF convention. A coordinate variable
must have the exact same name as the dimension it describes. Assuming you like the dimension names nx, ny, and nz, you will need to change your coordinate variables to be named nx, ny, and nz also. (Personally, I would name the dimensions lat, lon, and height
for clarity.)<br>
<br>
It also looks like you are trying to simultaneously define Cartesian and spherical coordinates. As far as I know, you cannot do that in the CF convention. If it were me, I would define them as spherical coordinates (with lat/lon) and use the "Spherical Coordinates"
checkbox of the ParaView reader to toggle between the two.<br>
<br>
Hope that helps.<br>
<br>
-Ken<br>
<div><br>
<div style="font-family:Tahoma; font-size:13px">
<div class="BodyFragment"><font size="2">
<div class="PlainText"><br>
Kenneth Moreland<br>
Sandia National Laboratories<br>
email: kmorel@sandia.gov<br>
phone: (505) 844-8919<br>
web: http://www.sandia.gov/~kmorel</div>
</font></div>
</div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF794797"><font color="#000000" face="Tahoma" size="2"><b>From:</b> paraview-bounces@paraview.org [paraview-bounces@paraview.org] on behalf of Scott Collis [scollis.acrf@gmail.com]<br>
<b>Sent:</b> Friday, August 24, 2012 10:08 AM<br>
<b>To:</b> paraview@paraview.org<br>
<b>Subject:</b> [EXTERNAL] [Paraview] Trying to get sensible axes<br>
</font><br>
</div>
<div></div>
<div>G'day Paraview list!<br>
I am using paraview 3.14 to read in some gridded netCDF files I have created that -semi- conforms to the CF conventions (there are still radar variables that need to be added)<br>
<br>
I can read in and do all kinds of nice things.... but now I am getting picky :)<br>
<br>
The reader seems to ignore my X,Y and height axes (or lat/lon)<br>
<br>
Is my metadata wrong? (see attached header) what variable (or standard name or metadata attribute) does paraview look for... Main thing I want is nice looking cube axes..<br>
Any advice gratefully recieved.. <br>
<br>
<br>
netcdf sgpcsapr_innermmcg_super_inneri7.c0.20110524.010010 {<br>
dimensions:<br>
time = UNLIMITED ; // (1 currently)<br>
nz = 37 ;<br>
ny = 101 ;<br>
nx = 101 ;<br>
variables:<br>
double time(time) ;<br>
time:units = "seconds since 1970-01-01 00:00:00.0" ;<br>
time:calendar = "gregorian" ;<br>
time:standard_name = "time" ;<br>
float z_disp(nz) ;<br>
z_disp:long_name = "height" ;<br>
z_disp:standard_name = "height" ;<br>
z_disp:units = "meter" ;<br>
z_disp:positive = "up" ;<br>
float y_disp(ny) ;<br>
y_disp:axis = "Y" ;<br>
y_disp:comment = "Y Displacement from the central facility" ;<br>
y_disp:long_name = "y-coordinate in Cartesian system" ;<br>
y_disp:standard_name = "y-coordinate in Cartesian system" ;<br>
y_disp:units = "m" ;<br>
float x_disp(nx) ;<br>
x_disp:axis = "X" ;<br>
x_disp:long_name = "x-coordinate in Cartesian system" ;<br>
x_disp:standard_name = "x-coordinate in Cartesian system" ;<br>
x_disp:units = "m" ;<br>
x_disp:comment = "X Displacement from the central facility" ;<br>
float lat(nx) ;<br>
lat:long_name = "latitude" ;<br>
lat:standard_name = "latitude" ;<br>
lat:units = "degrees_north" ;<br>
float lon(ny) ;<br>
lon:long_name = "longitude" ;<br>
lon:standard_name = "longitude" ;<br>
lon:units = "degrees_east" ;<br>
double attenuation_corrected_reflectivity_horizontal(time, nz, ny, nx) ;<br>
attenuation_corrected_reflectivity_horizontal:_FillValue = -9999. ;<br>
attenuation_corrected_reflectivity_horizontal:units = "dBZ" ;<br>
attenuation_corrected_reflectivity_horizontal:long_name = "equivalent_reflectivity_factor" ;<br>
attenuation_corrected_reflectivity_horizontal:standard_name = "equivalent_reflectivity_factor" ;<br>
attenuation_corrected_reflectivity_horizontal:valid_max = 80. ;<br>
attenuation_corrected_reflectivity_horizontal:valid_min = -45. ;<br>
double corrected_mean_doppler_velocity(time, nz, ny, nx) ;<br>
corrected_mean_doppler_velocity:_FillValue = -9999. ;<br>
corrected_mean_doppler_velocity:units = "m/s" ;<br>
corrected_mean_doppler_velocity:long_name = "radial_velocity_of_scatterers_away_from_instrument" ;<br>
corrected_mean_doppler_velocity:standard_name = "radial_velocity_of_scatterers_away_from_instrument" ;<br>
corrected_mean_doppler_velocity:valid_max = 45. ;<br>
corrected_mean_doppler_velocity:valid_min = -45. ;<br>
double diff_phase(time, nz, ny, nx) ;<br>
diff_phase:_FillValue = -9999. ;<br>
diff_phase:units = "degrees/km" ;<br>
diff_phase:long_name = "specific_differential_phase_hv" ;<br>
diff_phase:standard_name = "specific_differential_phase_hv" ;<br>
diff_phase:valid_max = 20. ;<br>
diff_phase:valid_min = -10. ;<br>
double doppler_spectral_width(time, nz, ny, nx) ;<br>
doppler_spectral_width:_FillValue = -9999. ;<br>
doppler_spectral_width:units = "m/s" ;<br>
doppler_spectral_width:long_name = "spectrum_width" ;<br>
doppler_spectral_width:standard_name = "spectrum_width" ;<br>
doppler_spectral_width:valid_max = 45. ;<br>
doppler_spectral_width:valid_min = 0. ;<br>
double unfolded_dp_phase_shift(time, nz, ny, nx) ;<br>
unfolded_dp_phase_shift:_FillValue = -9999. ;<br>
unfolded_dp_phase_shift:units = "degrees" ;<br>
unfolded_dp_phase_shift:long_name = "differential_phase_hv" ;<br>
unfolded_dp_phase_shift:standard_name = "differential_phase_hv" ;<br>
unfolded_dp_phase_shift:valid_max = 480. ;<br>
unfolded_dp_phase_shift:valid_min = 0. ;<br>
double reflectivity_horizontal(time, nz, ny, nx) ;<br>
reflectivity_horizontal:_FillValue = -9999. ;<br>
reflectivity_horizontal:units = "dBZ" ;<br>
reflectivity_horizontal:long_name = "equivalent_reflectivity_factor" ;<br>
reflectivity_horizontal:standard_name = "equivalent_reflectivity_factor" ;<br>
reflectivity_horizontal:valid_max = 80. ;<br>
reflectivity_horizontal:valid_min = -45. ;<br>
double diff_reflectivity(time, nz, ny, nx) ;<br>
diff_reflectivity:_FillValue = -9999. ;<br>
diff_reflectivity:units = "dB" ;<br>
diff_reflectivity:long_name = "log_differential_reflectivity_hv" ;<br>
diff_reflectivity:standard_name = "log_differential_reflectivity_hv" ;<br>
diff_reflectivity:valid_max = 8. ;<br>
diff_reflectivity:valid_min = -6. ;<br>
double copol_coeff(time, nz, ny, nx) ;<br>
copol_coeff:_FillValue = -9999. ;<br>
copol_coeff:units = "ratio" ;<br>
copol_coeff:long_name = "cross_correlation_ratio_hv" ;<br>
copol_coeff:standard_name = "cross_correlation_ratio_hv" ;<br>
copol_coeff:valid_max = 1. ;<br>
copol_coeff:valid_min = 0. ;<br>
double recalculated_diff_phase(time, nz, ny, nx) ;<br>
recalculated_diff_phase:_FillValue = -9999. ;<br>
recalculated_diff_phase:units = "degrees/km" ;<br>
recalculated_diff_phase:long_name = "specific_differential_phase_hv" ;<br>
recalculated_diff_phase:standard_name = "specific_differential_phase_hv" ;<br>
recalculated_diff_phase:valid_max = 20. ;<br>
recalculated_diff_phase:valid_min = -1. ;<br>
double norm_coherent_power(time, nz, ny, nx) ;<br>
norm_coherent_power:_FillValue = -9999. ;<br>
norm_coherent_power:comment = "Also know as Normalized Coherent Power" ;<br>
norm_coherent_power:valid_min = 0. ;<br>
norm_coherent_power:long_name = "signal_quality" ;<br>
norm_coherent_power:standard_name = "signal_quality" ;<br>
norm_coherent_power:units = "ratio" ;<br>
norm_coherent_power:valid_max = 1. ;<br>
double mean_doppler_velocity(time, nz, ny, nx) ;<br>
mean_doppler_velocity:_FillValue = -9999. ;<br>
mean_doppler_velocity:units = "m/s" ;<br>
mean_doppler_velocity:long_name = "radial_velocity_of_scatterers_away_from_instrument" ;<br>
mean_doppler_velocity:standard_name = "radial_velocity_of_scatterers_away_from_instrument" ;<br>
mean_doppler_velocity:valid_max = 95. ;<br>
mean_doppler_velocity:valid_min = -95. ;<br>
<br>
// global attributes:<br>
:process_version = "Evaluation 0.6" ;<br>
:conventions = "CF 1.5" ;<br>
:command_line = "./map_sgp_csapr_super_inner.py /data-in/radar/sgp/sgpcsaprsur/sur/20110524/010544.mdv /data-in/radar/sgp/sgpsondewnpnC1/ " ;<br>
:dod_version = "0.5" ;<br>
:site_id = "I7: Nardin, Oklahoma" ;<br>
:facility_id = "sgp" ;<br>
:pyart_procs = " Dealised with the University of Washington 4DD code. Phase unfolded and attenation corrected for using the Z-PHI like Py-ART C-Band module. Mapped to a cartesian grid using the Ballsy mapper" ;<br>
:input_datastreams_num = "2" ;<br>
:input_datastreams = "SGPC-SAPR : 1 : 20110524.010010-20110524.010544;\n",<br>
"sgpsondewnpn : ingest-sonde-10.6-0.sol5_10 : 20110523.232800-20110524.005842;\n",<br>
"" ;<br>
:history = "created by user sc8 on bds2-vm1 at 24-Aug-2012,8:36:09 using ./map_sgp_csapr_super_inner.py" ;<br>
}<br>
<br>
</div>
</div>
</div>
</body>
</html>