How do I process this netcdf file?
조회 수: 1 (최근 30일)
이전 댓글 표시
[Edit - code formatting]
>> ncdisp('NRB_2000nw1.nc');
Source:
D:\sunil\NRB_III_SWM_AUG2013\NRB_2000nw1.nc
Format:
classic
Global Attributes:
CREATION_DATE = '26-09-2013'
MOORING = 'NRB1A'
platform_type = 'mooring'
DEPLOYMENT_DATE = '24-08-2013'
RECOVERY_DATE = '05-09-2013'
INST_TYPE = 'RDI INSTRUMENTS ADCP'
latitude = 18.6
latitude_units = 'Degree_North'
longitude = 84.8
longitude_units = 'Degree_East'
FIRMWARE_VERSION = 50.4
FREQUENCY = 300
beam_width = 4
BEAM_PATTERN = 'CONVEX'
SYSTEM_CONFIG = 1
IS_TRANSDUCER_ATTACHED = 'YES'
ORIENTATION = 'UP'
BEAM_ANGLE = 20
JANUS = '4 BEAM'
SIMULATED_DATA = 0
LAG_LENGTH = 53
BEAMS_IN_VELOCITY_CALC = 4
PINGS_PER_ENSEMBLE = 34
PROFILING_MODE = 1
PRED_ACCURACY = 0.61
VALID_CORRELATION_RANGE = [6.40e+01 2.55e+02]
CODE_REPETITION = 9
minmax_percent_good = [0.00e+00 1.00e+02]
error_velocity_threshold = 2e+03
TIME_BETWEEN_PING_GROUPS = 0.88
TRANSFORM = 'Earth '
sound_speed_computed_from_ED_ES_ET = 'YES '
ED_taken_from_depth_sensor = 'YES '
EH_taken_from_xducer_heading_sensor = 'YES '
EP_taken_from_xducer_pitch_sensor = 'YES '
ER_taken_from_xducer_roll_sensor = 'YES '
ET_taken_from_temperature_sensor = 'YES '
Depth_sensor = 'YES '
heading_sensor = 'YES '
pitch_sensor = 'YES '
roll_sensor = 'YES '
conductivity_sensor = 'NO '
temperature_sensor = 'YES '
transmit_pulse_length_cm = 447
Starting_water_layer = 1
Ending_water_layer = 5
false_target_reject_values = [5.00e+01 2.55e+02]
transmit_lag_distance = 50
ADCP_SERIAL_NO = 3.59e+03
Center_first_bin = 6.25
blanking_distance = 1.76
bin_size = 4
bin_count = 25
water_depth = 104
water_depth_source = 'Water depth from user input by rdi2cdf'
water_depth_datum = 'MSL'
xducer_offset_from_bottom = 7
WATER_DEPTH = 89.4
initial_instrument_height = 7
initial_instrument_height_note = 'height in meters above bottom: accurate for tripod mounted instruments'
nominal_sensor_depth = 82.4
nominal_sensor_depth_note = 'inst_depth = (water_depth - inst_height); nominal depth below surface'
transform = 'EARTH'
DATA_TYPE = 'ADCP'
DATA_SUB_TYPE = 'MOORED'
COORD_SYSTEM = 'GEOGRAPHIC'
WATER_MASS = '?'
POS_CONST = 0
DEPTH_CONST = 0
DRIFTER = 0
WATER_DEPTH_SOURCE = 'Water depth from user input by rdi2cdf'
VAR_FILL = 1e+35
Conventions = 'EPIC/PMEL'
EXPERIMENT = 'cruise'
PROJECT = 'GAP2659'
DESCRIPT = 'NRB 2'
DATA_CMNT = 'none'
magnetic_variation_at_site = -0.869
magnetic_variation_applied = -0.869
FILL_FLAG = 0
COMPOSITE = 0
DELTA_T = '029'
start_time = '23/08/2013 09:00:00'
stop_time = '08/09/2013 07:45:59'
salinity_set_by_user = 35
salinity_set_by_user_units = 'PPT'
VAR_DESC = 'bindist:ensemble:u:v:w:Werr:COR:AGC:PGd:brange:Tx:SV:Hdg:Ptch:Roll:P:SDP'
Dimensions:
Lon = 1
Lat = 1
Depth = 21
Time = 45933
Variables:
Lon
Size: 1x1
Dimensions: Lon
Datatype: single
Attributes:
long_name = 'Longitude'
units = 'Degree_East'
Lat
Size: 1x1
Dimensions: Lat
Datatype: single
Attributes:
long_name = 'Latitude'
units = 'Degree_Nort'
Depth
Size: 21x1
Dimensions: Depth
Datatype: single
Attributes:
long_name = 'Depth (m)'
units = 'meters'
blanking_distance = 1.76
bin_size = 4
Center_first_bin = 6.25
xducer_offset_from_bottom = 7
Time
Size: 45933x1
Dimensions: Time
Datatype: single
Attributes:
long_name = 'Time'
units = 'hours'
time_origin = '23-AUG-2013 09:00:00'
u_1205
Size: 1x1x21x45933
Dimensions: Lon,Lat,Depth,Time
Datatype: single
Attributes:
name = 'u'
long_name = 'Eastward Velocity'
missing_value = 1e+05
_FillValue = 1e+35
units = 'cm/s'
v_1206
Size: 1x1x21x45933
Dimensions: Lon,Lat,Depth,Time
Datatype: single
Attributes:
name = 'v'
long_name = 'Northward Velocity'
missing_value = 1e+05
_FillValue = 1e+35
units = 'cm/s'
w_1204
Size: 1x1x21x45933
Dimensions: Lon,Lat,Depth,Time
Datatype: single
Attributes:
name = 'W'
long_name = 'Vertical Velocity'
missing_value = 1e+05
_FillValue = 1e+35
units = 'cm/s'
Werr_1201
Size: 1x1x21x45933
Dimensions: Lon,Lat,Depth,Time
Datatype: single
Attributes:
name = 'EVEL'
long_name = 'Error Velocity'
missing_value = 1e+05
_FillValue = 1e+35
units = 'cm/s'
COR_1201
Size: 1x1x21x45933
Dimensions: Lon,Lat,Depth,Time
Datatype: single
Attributes:
name = 'AGC'
long_name = 'Average Correlation'
units = 'counts'
AGC_1202
Size: 1x1x21x45933
Dimensions: Lon,Lat,Depth,Time
Datatype: single
Attributes:
name = 'AGC'
long_name = 'Average Echo Intensity'
units = 'counts'
PGd_1203
Size: 1x1x21x45933
Dimensions: Lon,Lat,Depth,Time
Datatype: single
Attributes:
name = 'PGD'
long_name = 'Percent Good Pings'
units = 'cm/s'
Brange
Size: 1x1x45933
Dimensions: Lon,Lat,Time
Datatype: single
Attributes:
name = 'Brange'
long_name = 'range from ADCP head to boundary'
units = 'm'
Tx_1211
Size: 1x1x45933
Dimensions: Lon,Lat,Time
Datatype: single
Attributes:
name = 'TX'
long_name = 'ADCP Transducer Temp.'
units = 'Degree C.'
Hdg_1215
Size: 1x1x45933
Dimensions: Lon,Lat,Time
Datatype: single
Attributes:
name = 'HD'
long_name = 'INST Heading'
units = 'Degrees'
Ptch_1216
Size: 1x1x45933
Dimensions: Lon,Lat,Time
Datatype: single
Attributes:
name = 'PTCH'
long_name = 'INST Pitch'
units = 'Degrees'
Roll_1217
Size: 1x1x45933
Dimensions: Lon,Lat,Time
Datatype: single
Attributes:
name = 'ROLL'
long_name = 'INST Roll'
units = 'Degrees'
P_1294
Size: 1x1x45933
Dimensions: Lon,Lat,Time
Datatype: single
Attributes:
name = 'PRESSURE'
long_name = 'ADCP Pressure at Transducer Head'
units = 'deca-pascals'
SDP_850
Size: 1x1x45933
Dimensions: Lon,Lat,Time
Datatype: single
Attributes:
name = 'PRESSURE'
long_name = 'STAND. DEV. (PRESS)'
units = 'mbar'
>>
댓글 수: 0
채택된 답변
Ashish Uthama
2013년 10월 30일
It looks like you have already discovered ncdisp, have a look at other functions in the same family: ncread and ncinfo. If you are just starting with NetCDF, have a look at the examples in the links above, it should give you enough information to extract data from your file.
If you have more questions, please add a more detailed description on what you need help with.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 NetCDF에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!