NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
X,y,t might have to be called Lon,lat,time? Brian Mapes This message was typed on a cell phone, please forgive its terseness and any errors. > On Aug 22, 2016, at 7:46 AM, Sara Loureiro Solla <sara.solla@xxxxxxxxxxxxx> > wrote: > > Hello everyone! > > I am having trouble opening a *.nc file using IDV. The error I encounter is " > No gridded data found". I found some posts about the same problem in the > idvusers list, but I cannot find a proper solution. > > I create a nc file using python 2.7 and netCDF4.1.2.4 module. The dimensions > and the variables related to them are created this way: > > Dimensions: > dataout.createDimension('t', None) > dataout.createDimension('y', 361) > dataout.createDimension('x', 720) > dataout.createDimension('z', 1) > > Variables: > lat = self.dataout.createVariable('y', 'f4',( 'y',), zlib=True) > lat.units = 'degrees_north' > lon = self.dataout.createVariable('x', 'f4', ('x',), zlib=True) > lon.units = 'degrees_east' > time = self.dataout.createVariable('t', 'f4', ('t',), zlib=True) > time.units = 'hours' > time.calendar = 'gregorian' > vertical = self.dataout.createVariable('z','f4',('z',),zlib=True) > vertical.units = 'hPa' > vertical.positive = 'down' > > Variable filling: > lat[:] = np.arange(-90,90.5,.5) > lon[:] = np.arange(-180,180,.5) > time[:] = 80 > vertical[:] = 850 > > According to ncdump my file has the follow coordinate variable data: > t = 180 ; > z = 850 ; > y = -90, -89.5, -89, -88.5 ...... 85.5, 86, 86.5, 87, 87.5, 88, 88.5, 89, > 89.5, 90 ; > x = -180, -179.5, -179, ...... 178, 178.5, 179, 179.5 ; > > Any idea about what could lead to the "no gridded data found" error? > > Thank you very much! > Sara > > Sara Loureiro Solla > Junior Metocean Modeller > BMT ARGOSS > > Tel: +31 (0)527 769105 > Website: > www.bmtargoss.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.bmtargoss.com_&d=DQIFAg&c=y2w-uYmhgFWijp_IQN0DhA&r=yVke5Cs8_Mo0wii3NwoEZW87DUrnvGv6PU94kU0W0P0&m=pm6iYcchHI-MNAs9P3zSd8zAkc4lmwX0s4EZbSqHKIg&s=_y6eWaBQZrI9JvIQ612BMpBgX6RLA9BS22bOpav7B7o&e= > > > > [Description: > https://urldefense.proofpoint.com/v2/url?u=https-3A__secure.bmt.org_logos_companies2_BMT-2DARGOSS.gif&d=DQIFAg&c=y2w-uYmhgFWijp_IQN0DhA&r=yVke5Cs8_Mo0wii3NwoEZW87DUrnvGv6PU94kU0W0P0&m=pm6iYcchHI-MNAs9P3zSd8zAkc4lmwX0s4EZbSqHKIg&s=KetTLiOJ9GuSzj2gxZhsEOXS2PkuQSOnTEJzo8N-oEI&e= > ] > > LinkedIn<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.bmt.org_linkedin_&d=DQIFAg&c=y2w-uYmhgFWijp_IQN0DhA&r=yVke5Cs8_Mo0wii3NwoEZW87DUrnvGv6PU94kU0W0P0&m=pm6iYcchHI-MNAs9P3zSd8zAkc4lmwX0s4EZbSqHKIg&s=DuVTYXWMoI_t3DM9v91EtLijDFmhxXfeBAp68wYtMAQ&e= > > | > Twitter<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.twitter.com_bmtgroup&d=DQIFAg&c=y2w-uYmhgFWijp_IQN0DhA&r=yVke5Cs8_Mo0wii3NwoEZW87DUrnvGv6PU94kU0W0P0&m=pm6iYcchHI-MNAs9P3zSd8zAkc4lmwX0s4EZbSqHKIg&s=AC0zi4Q8dQDwGhhchEcG7mv-jslZUJz_JS9BsNuiuLs&e= > > | > Facebook<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.facebook.com_BMTGroup&d=DQIFAg&c=y2w-uYmhgFWijp_IQN0DhA&r=yVke5Cs8_Mo0wii3NwoEZW87DUrnvGv6PU94kU0W0P0&m=pm6iYcchHI-MNAs9P3zSd8zAkc4lmwX0s4EZbSqHKIg&s=5_90_6mnJxm4bdwZUSvUtqQesVAGRs-lV9LorK-5WhU&e= > > | > YouTube<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.youtube.com_bmtgroupltd&d=DQIFAg&c=y2w-uYmhgFWijp_IQN0DhA&r=yVke5Cs8_Mo0wii3NwoEZW87DUrnvGv6PU94kU0W0P0&m=pm6iYcchHI-MNAs9P3zSd8zAkc4lmwX0s4EZbSqHKIg&s=cVe5OlW72pG8wdc1R_BdRD9Htsjxd1sHxSPv786FhDk&e= > > > > BMT ARGOSS, Spacelab 45, 3824 MR, Amersfoort, The Netherlands > > Registered in the Netherlands, No 39060160, Registered office as above. > > Unless otherwise agreed by BMT ARGOSS in writing, all work, services, goods > or products supplied by BMT ARGOSS shall be subject to and governed by BMT > ARGOSS's own terms and conditions which are available for inspection from BMT > ARGOSS on request. > > E-mail confidentiality notice and disclaimer: > The contents of this e-mail and any attachments are intended for the use of > the mail addressee(s) shown. If you are not that person, you are not allowed > to read it, to take any action based upon it or to copy it, forward, > distribute or disclose the contents of it and you should please delete it > from your system. BMT ARGOSS does not accept liability for any errors or > omissions in the context of this e-mail or its attachments which arise as a > result of internet transmission, nor accept liability for statements which > are those of the author and clearly not made on behalf of BMT ARGOSS. > > [Description: > https://urldefense.proofpoint.com/v2/url?u=https-3A__secure.bmt.org_logos_tree.gif&d=DQIFAg&c=y2w-uYmhgFWijp_IQN0DhA&r=yVke5Cs8_Mo0wii3NwoEZW87DUrnvGv6PU94kU0W0P0&m=pm6iYcchHI-MNAs9P3zSd8zAkc4lmwX0s4EZbSqHKIg&s=HiatvdpkEiNEzxq6_1PfLaLbR9M9KwgYn1U9z9Cgc-w&e= > ] Please consider the environmental impacts of printing this email, and only > do so if really necessary > > > ______________________________________________________________________ > This email has been scanned by the Symantec Email Security.cloud service. > For more information please visit > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.symanteccloud.com&d=DQIFAg&c=y2w-uYmhgFWijp_IQN0DhA&r=yVke5Cs8_Mo0wii3NwoEZW87DUrnvGv6PU94kU0W0P0&m=pm6iYcchHI-MNAs9P3zSd8zAkc4lmwX0s4EZbSqHKIg&s=Mjx3k0MmRF5IOn6tFw3TqcG4i39PjTPACM6uxMvTLyU&e= > > ______________________________________________________________________ > _______________________________________________ > NOTE: All exchanges posted to Unidata maintained email lists are > recorded in the Unidata inquiry tracking system and made publicly > available through the web. Users who post to any of the lists we > maintain are reminded to remove any personal information that they > do not want to be made public. > > > idvusers mailing list > idvusers@xxxxxxxxxxxxxxxx > For list information, to unsubscribe, visit: > https://urldefense.proofpoint.com/v2/url?u=http-3A__www.unidata.ucar.edu_mailing-5Flists_&d=DQICAg&c=y2w-uYmhgFWijp_IQN0DhA&r=yVke5Cs8_Mo0wii3NwoEZW87DUrnvGv6PU94kU0W0P0&m=pm6iYcchHI-MNAs9P3zSd8zAkc4lmwX0s4EZbSqHKIg&s=g2DzF9jcS2F-a49Vf7Ij9Mfit1S4jGtxAZa9seBDL-U&e= >
idvusers
archives: