This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
|
John, Attached is an email exchange that happened more than a year ago about conventions for netcdf files. I wanted to revisit this once again since you mentioned at the time that there were more issues that you had to think about. I have also noticed that there is a newer CF Conventions document and we would like to follow the latest CF conventions with our created netcdf files. Here are my questions: 1) I was wondering if you had any other comments on my created netcdf files or other issues that you had more information about since you mentioned that there were more issues for you to think about. 2) I'm not certain what type of point feature type I should be using for this data. My data sounds most like the description to profile, but then there is stationProfile which may be best used for a file which has multiple stations vs. one station. But when I look at profile, it seems like my data wouldn't fit into this category, since it requires values to uniquely identify the profile. Lat and lon don't change within one file of station data, so maybe it should be trajectory? Lat, lon and altitude, in my data file, are not technically coordinate variables, since they don't change within a file. The only coordinate variables are time and height. It's also not clear what data would be contained within trajectory_id or profile_id, i.e. what values would I use to uniquely identify either the trajectory or profile with my data. Trajectory seems to apply more towards flight or ship data, since the lat and lon would be different. What do you think is the most appropriate point feature type to use with my data? Here is a snapshot from my netcdf file: dimensions: time = 35088 ; station = 1 ; height = 2 ; variables: float height(height) ; height:standard_name = "height" ; height:long_name = "Sensor Height" ; height:units = "m" ; height:positive = "up" ; float latitude(station) ; latitude:standard_name = "latitude" ; latitude:long_name = "Latitude" ; latitude:units = "degrees_north" ; float longitude(station) ; longitude:standard_name = "longitude" ; longitude:long_name = "Longitude" ; longitude:units = "degrees_east" ; float altitude(station) ; altitude:standard_name = "altitude" ; altitude:long_name = "Altitude" ; altitude:units = "m" ; altitude:positive = "up" ; double time(time) ; time:standard_name = "time" ; time:long_name = "UTC Actual Date/Time" ; time:units = "seconds since 1970-01-01 00:00:00" ; double time_nominal(time, height) ; time_nominal:standard_name = "time_nominal" ; time_nominal:long_name = "UTC Nominal Date/Time" ; time_nominal:units = "seconds since 1970-01-01 00:00:00" ; float surface_air_pressure(time, height) ; surface_air_pressure:standard_name = "surface_air_pressure" ; surface_air_pressure:long_name = "Station Pressure" ; surface_air_pressure:units = "Pa" ; surface_air_pressure:_FillValue = -999.99f ; surface_air_pressure:missing_value = -999.99f ; char surface_air_pressure_flag(time, height) ; surface_air_pressure_flag:standard_name = "surface_air_pressure_flag" ; surface_air_pressure_flag:long_name = "Station Pressure Flag" ; surface_air_pressure_flag:flag_value = "C M B I D G U" ; surface_air_pressure_flag:flag_meanings = "exceeds_field_size missing bad interpolated_or_estimated_or_gap_filled questionable good unchecked" ; surface_air_pressure_flag:_FillValue = "M" ; surface_air_pressure_flag:missing_value = "M" ; 3) Do you have some simple data files that you could point me to, that would be similar to the data files that I am creating? 4) Do I need to specify geospatial_lat_min, etc for these data files for it to properly follow standards? Thanks in advance for any help you can offer to clarify these issues. Janet John Caron wrote: Janet Scannell wrote: |