[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #RWT-515493]: arbitrary size limit?



> Full Name: Brian Mapes
> Email Address: address@hidden
> Organization: U of Miami
> Package Version: 4.1u1 build date:2013-10-23 07:05 UTC
> Operating System: Mac OS X
> Hardware: Java: home: 
> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home version: 
> 1.6.0_65 j3d:1.5.2 fcs (build4)
> Description of problem: Error writing local netcdf file.
> Data:dods://rda.ucar.edu/thredds/dodsC/ds629.2/0/best
> Variables:[Potential_vorticity_isobaric]
> Variable starting pos=3774977948 may not exceed 2147483647
> 
> I can't save a full .zidv because of this. Thanks!
> 

Brian,
    In general, the limit of the size for a regular nc file is 2G. If you 
really need to save a 4G data, we need to implement a new api to call different 
netCDF java function. 


Yuan
> ******************
> Stack trace:
> java.lang.IllegalArgumentException: Variable starting pos=3774977948 may not 
> exceed 2147483647
> at ucar.nc2.iosp.netcdf3.N3header.writeHeader(N3header.java:679)
> at ucar.nc2.iosp.netcdf3.N3header.create(N3header.java:603)
> at ucar.nc2.iosp.netcdf3.N3iosp.create(N3iosp.java:656)
> at ucar.nc2.NetcdfFileWriter.create(NetcdfFileWriter.java:671)
> at ucar.nc2.dt.grid.NetcdfCFWriter.makeOrTestSize(NetcdfCFWriter.java:308)
> at ucar.nc2.dt.grid.NetcdfCFWriter.makeFile(NetcdfCFWriter.java:195)
> at ucar.nc2.dt.grid.NetcdfCFWriter.makeFile(NetcdfCFWriter.java:177)
> at 
> ucar.unidata.data.grid.GeoGridDataSource.writeNc(GeoGridDataSource.java:911)
> at 
> ucar.unidata.data.grid.GeoGridDataSource.saveDataToLocalDisk(GeoGridDataSource.java:871)
> at 
> ucar.unidata.data.DataSourceImpl.saveDataToLocalDisk(DataSourceImpl.java:2761)
> at 
> ucar.unidata.idv.IdvPersistenceManager.showDataEmbedGui(IdvPersistenceManager.java:2316)
> at 
> ucar.unidata.idv.IdvPersistenceManager.doSave(IdvPersistenceManager.java:1307)
> at 
> ucar.unidata.idv.IdvPersistenceManager.doSave(IdvPersistenceManager.java:1204)
> at 
> ucar.unidata.idv.IdvPersistenceManager.doSaveAs(IdvPersistenceManager.java:686)
> at 
> ucar.unidata.idv.IntegratedDataViewer$10.run(IntegratedDataViewer.java:2743)
> at ucar.unidata.util.Misc$3.run(Misc.java:1251)
> 
> 
> 


Ticket Details
===================
Ticket ID: RWT-515493
Department: Support IDV
Priority: Normal
Status: Closed


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.