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.
> > It will be helpful if you can tell me what kind of nc file being created. I > > can only guess that it is > > gridded dataset. If so, the dataset need to contain coordinate system, and > > this is what the error > > message suggest. > > Please look at the attached nc file that I sent you. (I attach the nc > file to this email again.) > It sounds like Don's already helped you to figure out the problem of your nc file. I will close this ticket, but feel free to reopen it if you need further help. Yuan > As you can see here, I have created a coordinate system (longitude, > latitude, altitude) and air_density is assigned at each grid point. > If you have a sample nc file that IDV can read, please send it to me. > Then, I'll compare the difference. > > netcdf myfirstcdffile { > dimensions: > longitude = 37 ; > latitude = 19 ; > altitude = 6 ; > time = 7 ; > variables: > int longitude(longitude) ; > longitude:standard_name = "longitude" ; > longitude:units = "degrees_east" ; > int latitude(latitude) ; > latitude:standard_name = "latitude" ; > latitude:units = "degrees_north" ; > int altitude(altitude) ; > altitude:standard_name = "altitude" ; > altitude:units = "m" ; > float time(time) ; > time:standard_name = "time" ; > time:units = "days since 1900-01-01 0:0:0" ; > time:calendar = "standard" ; > float ne(time, altitude, latitude, longitude) ; > ne:standard_name = "air_density" ; > ne:units = "kg m-3" ; > ne:_FillValue = -9999.99f ; > > // global attributes: > :title = "My first netcdf file" ; > :long_title = "Self explanatory, isn\'t it ?" ; > :comments = "All variables are just noise !" ; > :institution = "Stanford University" ; > :source = "my_model" ; > :Conventions = "CF-1.4" ; > :Conventions_help = > "http://cf-pcmdi.llnl.gov/documents/cf-conventions/1.4/cf-conventions.html" > ; > :CreationDate = "2011/04/21 18:44:54" ; > :MatlabSource = "C:\\Documents and > Settings\\jiwon\\Desktop\\Jiwon\\Research\\SESS\\E-region > occultation\\netcdf_write_example.m" ; > } > > > > > > > > On Thu, Apr 21, 2011 at 10:17 PM, Unidata IDV Support > <address@hidden> wrote: > >> Dear Unidata, > >> > >> I'm a beginner of NetCDF and IDV. > >> > >> I just made a simple NetCDF file using Matlab. > >> When I tried to read this file into IDV, I got an error message "No > >> gridded data found for ..." > >> > >> I searched the Web but couldn't find an answer for this problem. This > >> NetCDF file passes the CF compliance checker. > >> Could you please check the attached NetCDF file? > > > > It will be helpful if you can tell me what kind of nc file being created. I > > can only guess that it is > > gridded dataset. If so, the dataset need to contain coordinate system, and > > this is what the error > > message suggest. I am out of office till next Tuesday, and I will check > > with you later. > > > > Yuan > >> > >> > >> Thank you! > >> Jiwon > >> > >> > > > > > > Ticket Details > > =================== > > Ticket ID: UWB-863324 > > Department: Support IDV > > Priority: Normal > > Status: Open > > > > > > Ticket Details =================== Ticket ID: UWB-863324 Department: Support IDV Priority: Normal Status: Closed