Re: [idvusers] Plot a trajectory

 Le 05/10/2010 00:46, Yuan Ho a écrit :
On 9/29/2010 2:27 AM, Ludovic Drouineau wrote:
Hi!
I'm having problem while openning a track file:
Problem opening file:Y:\TECHSAS\hydro_nav_2010_0324.nc
ucar.unidata.data.BadDataException: Could not open trajectory
file:Y:\TECHSAS\hydro_nav_2010_0324.nc

My NetCDF file is accessible here:
https://gforge.ifremer.fr/docman/view.php/63/1198/hydro_nav_2010_0324.nc

I may have something wrong in my file?

For me a track file is a NetCDF file with lat(time), lon(time) and
variables:
float temperature(time)
temperature:coordinates="lon lat"

Best regards,
Ludovic

Hi Ludovic,
To display this nc dataset in the IDV as Tracks file, you need to let the IDV recognize it as trajectory data type. The variable rawdata in this dataset has 2 dimensions and maybe the problem here.


Yuan

_______________________________________________
idvusers mailing list
idvusers@xxxxxxxxxxxxxxxx
For list information, to unsubscribe, visit:
http://www.unidata.ucar.edu/mailing_lists/

_______________________________________________
idvusers mailing list
idvusers@xxxxxxxxxxxxxxxx
For list information, to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/
Hi
Thanks
I have removed rawdata in the file but I still have problem when I try to load it as a track file. File is accessible here: https://gforge.ifremer.fr/docman/view.php/63/1202/hydro_nav_2010_0324_2.nc

Problem opening file:C:\Users\ldrouine\Documents\Partage\hydro_nav_2010_0324_2.nc
 ucar.unidata.data.BadDataException: Could not open

ucar.unidata.data.BadDataException: Could not open trajectory file:C:\Users\ldrouine\Documents\Partage\hydro_nav_2010_0324_2.nc at ucar.unidata.data.sounding.CdmTrackAdapter.<init>(CdmTrackAdapter.java:132) at ucar.unidata.data.sounding.TrackDataSource.doMakeAdapter(TrackDataSource.java:551) at ucar.unidata.data.sounding.TrackDataSource.initTrack(TrackDataSource.java:507) at ucar.unidata.data.sounding.TrackDataSource.getAdapters(TrackDataSource.java:565) at ucar.unidata.data.sounding.TrackDataSource.initAfter(TrackDataSource.java:286) at ucar.unidata.data.DataSourceImpl.initAfterCreation(DataSourceImpl.java:789) at ucar.unidata.data.FilesDataSource.initAfterCreation(FilesDataSource.java:284) at ucar.unidata.data.sounding.TrackDataSource.initAfterCreation(TrackDataSource.java:301) at ucar.unidata.data.DataManager.createDataSource(DataManager.java:1559) at ucar.unidata.idv.IntegratedDataViewer.createDataSource(IntegratedDataViewer.java:1998) at ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1915) at ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1849) at ucar.unidata.idv.IntegratedDataViewer.makeDataSource(IntegratedDataViewer.java:1822) at ucar.unidata.idv.chooser.IdvChooser.makeDataSource(IdvChooser.java:943) at ucar.unidata.idv.chooser.FileChooser.selectFilesInner(FileChooser.java:656) at ucar.unidata.idv.chooser.FileChooser.selectFiles(FileChooser.java:525) at ucar.unidata.idv.chooser.FileChooser.doLoadInThread(FileChooser.java:547)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at ucar.unidata.util.Misc$2.run(Misc.java:1062)
    at ucar.unidata.util.Misc$3.run(Misc.java:1090)

Version: 2.9u2

regards,
Ludovic



  • 2010 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the idvusers archives: