mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 15:21:11 +00:00
Use NetCDF4 file format for support for large variables
This commit is contained in:
parent
602dc86be5
commit
9f554e10ed
1 changed files with 1 additions and 1 deletions
|
@ -332,7 +332,7 @@ void buildBox(SimuData *simu, long num_targets, long loaded,
|
|||
void saveBox(SimuData *&boxed, const std::string& outbox)
|
||||
{
|
||||
double *ranges = boxed->as<double>("ranges");
|
||||
NcFile f(outbox.c_str(), NcFile::Replace);
|
||||
NcFile f(outbox.c_str(), NcFile::Replace, 0, 0, NcFile::Netcdf4);
|
||||
long *particle_id = boxed->as<long>("particle_id");
|
||||
double *expansion_fac = boxed->as<double>("expansion_fac");
|
||||
long *snapshot_split = boxed->as<long>("snapshot_split");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue