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.
> 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