Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: lasp/cdflib

1.3.12

01 Jun 15:37

Choose a tag to compare

1.3.11

21 May 16:14
3a43f17

Choose a tag to compare

What's Changed

  • Write ISTP BIN_LOCATION attributes as CDF_REAL4 by @davidt0x in #330
  • Fix xarray compression handling for SPDF epoch-like time variables by @davidt0x in #332

Full Changelog: 1.3.10...1.3.11

1.3.10

29 Apr 17:07
f4b3849

Choose a tag to compare

What's Changed

  • Add xarray_to_cdf support for uncompressed epoch variables by @davidt0x in #329

New Contributors

Full Changelog: 1.3.9...1.3.10

1.3.9

09 Apr 22:35

Choose a tag to compare

Adding fixes for empty variables, as well as empty variable attributes. Empty variables will not error when compressed, and empty variable attributes will be converted to the null string instead of being dropped.

1.3.8

09 Jan 19:09
9b4c728

Choose a tag to compare

  • Fixing bug in xarray_to_cdf code that converts variable attributes with NaN to the appropriate ISTP compliant FILLVAL. Before, the code would replace nans with "0.0", but now the appropriate FILLVALs are used.

1.3.7

24 Nov 22:14
6d3f966

Choose a tag to compare

What's Changed

1.3.6

05 Aug 23:58

Choose a tag to compare

Fixing a bug introduced by previous commit

1.3.5

05 Aug 21:18
2c69f82

Choose a tag to compare

cdf_to_xarray

  • Stopping uncertainty "DELTA_VAR" variables from becoming coordinate variables

cdf_write

  • Updating the newbyteorder() call to work with numpy>2

1.3.4

10 Apr 19:27

Choose a tag to compare

What's Changed

cdfwrite now uses the numpy byte swap for endian conversion, using MUCH less memory.

1.3.3

15 Jan 23:38

Choose a tag to compare

1.3.3

Worked through a backlog of bugs

xarray_to_cdf

  • Fixed errors that come up with ISTP compliance when a support_data variable has no time variance and depends on another support_data variable
  • Fully remove the deprecated flags of from_unixtime, from_datetime, unixtime_to_cdftt2000, datetime_to_cdftt2000, datetime64_to_cdftt2000
  • Added a check to verify that LABLAXIS/LABL_PTR variables have the same dimensions as the data they need to label

cdfwrite

  • Now throw an error when np.uint64 data is given, as it is not a supported data type
  • Fixed a bug that wrote a record's length incorrectly for certain string inputs, causing corrupt CDF files to be generated

cdfread

  • Fixed a bug where string data was given an extra dimension once read

cdf_to_xarray

  • Fixed a bug that caused all data to be squeezed, removing dimensions of size 1

epochs

  • Fixed a bug that occured in CDF_TT2000 to np.datetime64 conversion code, which caused all "minutes" to be dropped from the dates if the array contained any dates from before 1972 (which includes all FILLVALs)