Skip to content

Commit

Permalink
fixed atl06s to support parquet output
Browse files Browse the repository at this point in the history
  • Loading branch information
jpswinski committed Oct 3, 2024
1 parent bf3a28e commit 820f2da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions datasets/icesat2/package/Atl06Reader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ int Atl06Reader::luaCreate (lua_State* L)
*----------------------------------------------------------------------------*/
void Atl06Reader::init (void)
{
RECDEF(elRecType, elRecDef, sizeof(elevation_t), NULL /* "extent_id" */);
RECDEF(atRecType, atRecDef, sizeof(atl06_t), NULL);
RECDEF(elRecType, elRecDef, sizeof(elevation_t), NULL /* "extent_id" */);
RECDEF(atRecType, atRecDef, offsetof(atl06_t, elevation), NULL);
}

/*----------------------------------------------------------------------------
Expand Down Expand Up @@ -532,7 +532,7 @@ void* Atl06Reader::subsettingThread (void* parm)
/* Create Elevation Batch Record */
if(!batch_record)
{
batch_record = new RecordObject(atRecType);
batch_record = new RecordObject(atRecType, sizeof(atl06_t));
atl06_data = reinterpret_cast<atl06_t*>(batch_record->getRecordData());
rec_vec.push_back(batch_record);
}
Expand Down

0 comments on commit 820f2da

Please sign in to comment.