Changelog
0.15
Released on Mars 7, 2025
General
Documentation updates including new diagnostics parameter and new
CasysPlot
customizations
NadirData/SwathData
Fixing an issue with the Nadir crossovers diagnostic (related to jump_threshold)
CasysPlot
Changing default
PlotParams
values forfill_ocean
andgrid
.fill_ocean
is set to False by defaultgrid
is set to True by default
Adding options to define
x_limits
andy_limits
, similar to howcolor_limits
is defined:(min, max)
: Minimum and maximum valuesauto
: compute limits (mean-3*std, mean+3*std)("p", (p_min, p_max)) or ("p", p_value)
: fix limits according to the percentiles in the data
Diagnostic storage
Implementing delayed reading of stored diagnostics: stored data will only be read when accessed
StoreReader
with theauto
parameter will use delayed loadingcompute_from_store()
have a newdelayed
parameter (default to True)
Optimizing
StoreReader
automatic readingImproving post diagnostics handling with a
StoreReader
(computation from the store if available or classic computation)Improving
StoreReader
robustness in handling fields as direct characters chain when adding diagnostics
0.14
Released on November 11, 2024
General
Definitive removal of the
from casys.nadir import ...
path (replaced byfrom casys import ...
) and the oldAltiData
class (replaced byNadirData
)Optimization of some diagnostics computation
Documentation updates including new diagnostics, new
CasysPlot
customization and many fixes
NadirData/SwathData
Adding a new section analysis sub-diagnostic to the missing points diagnostic [doc]
Adding a new periodogram diagnostic, with the method
add_periodogram()
[doc]Crossovers diagnostic: Allowing the specification of different statistics for temporal and geobox sub-diagnostic through the new
temporal_stats
andgeobox_stats
parameters (the commonstats
parameter remains available) [doc]Adding a new parameter allowing to pass additional frequency related parameters to the pandas.date_range underlying function, instead of passing them as direct keywords
CasysPlot
Adding new options to center and transform plot’s data
Using
DataParams
center
andtransform
parameters [doc]Using
CasysPlot
transform_data()
andcenter_data()
methods
Greatly improving the
from_array()
method’s robustnessUsing
bbox_inches="tight"
for theshowv()
andsave_figure()
methods
Diagnostic storage
Optimization of diagnostics storage speed
Evolution of
MissingPoints
storage for a more compact storage
Reports
Adding a new
casys-report
programNormalizing automatic diagnostics naming convention (ex. “time_stat” -> “temporal”)
Making
ges_table_dir
anddata_dir
parameters optional in sourcesFixing gridded plots generation when a list of statistics is explicitly provided
Many fixes
0.13
Released on April 14, 2024
General
This version will be the last one supporting deprecated
casys.nadir
importsImporting casys is now a lot faster (and less IO intensive)
Updating the dask documentation to include Slurm clusters
Diagnostic storage
Diagnostics can be stored using the
store_diagnostics()
methodA new
StoreReader
reader allows to read stored diagnostics.
NadirData/SwathData
Simple fields (existing as such in the source) might be referenced by their name (just a string) without having to declare a
Field
object when adding diagnostic.New
time_extension=True
option allowing an automatic extension of the defined time interval for temporal diagnostic requiring complete splits (full days, hours, passes, …).Adding the
holes_threshold
interpolation option (for interpolated fields)Allowing to use box defined in a different projection for geographical box diagnostics with the new
projection
option of theadd_geobox_stat()
method [doc]compute_dask()
now correctly scatters loaded data when working with xarray Datasets (no more distributed warning).Along track interpolation minor fixes
CasysPlot
New automatic and percentile based
color_limits
definition [doc]Discretized colormap [doc]
Can now associate a color with a value
Improved handling of numpy.nan values
Improved handling of empty datasets
The method
set_ticks()
does not have aalti
parameter anymore. Just set thefmt
parameter to something other thanNone
to activate altimetric ticks.Some plot elements can now be customized:
Statistics bar allow to chose the set of displayed statistics and the number of digits to print.
Histogram bars allow to set the
y_limits
of the histogram graphic.Statistics graphic allow to set the
y_limits
of the histogram graphic.
Coastlines and
FeatureParams
are now documented [doc]Spectral analysis: second axis fixes
New how to add custom points to a CasysPlot example
PlotParams
’skwargs_plot
now accept thebackground_img
keyword
Reports
Allowing to store individual images for gridded plot
Many fixes
0.12
Released on August 17, 2023
NadirData/SwathData
Removing the unused
resample
parameterImproving parameter name autocompletion (when using the
tab
key in notebooks) for readers, NadirData and SwathDataadd_raw_comparison now allows to work with 3 variables [doc]
SwathData
Spectral analysis:
Adding the
segments_reduction
parameter allowing to choose the function used to reduce data across segments [doc][Fix] Using the
select_clip
parameter could cause problems during pixel selection
CasysPlot
Adding 3D plotting options for many diagnostics
Spectral analysis:
Improving second axis ticks [doc]
[Fix] Using some sets of parameters could generate an error when creating a plot
PlotParameters now allow to disable coastlines as well as using different coastlines through the
coastlines
parameter and theFeatureParams
classCan now use vador to plot diagnostics with the
showv()
method[Fix] Adding a RangeEvent was canceling PlotParameters
x_limits
andy_limits
Reports
ReportConfigurator
Adding grid display options for custom diagnostics
Automatic naming of images according to their section
[Fix] Fixing stats parameter for plots added with “add_plot”
0.11
Released on February 17, 2023
NadirData/SwathData
Fully validating creation parameters
Allowing to overwrite diagnostic using a similar name by setting the
diag_overwrite
parameter to True when creating a NadirData or SwathDataSpectral diagnostics have been reworked [doc]
New computation options
New PSD defaults parameters
New plots (with an optional second axis)
New swath pixels selections
CasysPlot
[Fix] Scatter plot regression curve parameters is now correctly shown in legend
Regression curve parameters are now stored as attributes in the
data_used
dataset using the names:reg_slope
,reg_intercept
,reg_correlation
Reports
Can now generate SwathData reports.
[Fix] Diagnostics depending of others (ratio) are now added in a correct order when computing data
0.10
Released on January 6, 2023
Warning
AltiData
is depreciated, replaced byNadirData
Some dependencies become optional
octantng.vanilla
swot_calval
New
SwathData
class allowing to handle swath dataReaders (data sources)
Renaming
CLSCasysReader
toCLSReader
TableCasysReader
toCLSTableReader
TableInSituCasysReader
toCLSTableInSituReader
DatasetCasysReader
toDatasetReader
DatasetZarrCasysReader
toZarrDatasetReader
MultiCasysReader
toMultiReader
Adding readers for zcollection
Adding reader for swot_calval.io
NadirData
adding spectral analysis diagnostic [doc]
SwathData
CasysPlot
New spectral analysis plot
0.7.2
Released on November 4, 2022
Warning
Reports
Now allows users to define their own diagnostics and report output.
0.7.1
Released on October 3, 2022
Reports
[Fix] Raw data plots were not included in reports.
0.7
Released on August 10, 2022
AltiData
Adding the possibility to list existing diagnostics [doc]
compute_dask()
can now display a progress bar when working with xarray Datasets
CasysPlot
Reports
New
ReportConfigurator
class allowing simplified CalVal report configuration and generation[Fix] Adding missing
add_ticks_space
schema
0.6.1
Released on May 22, 2022
CasysPlot
[Fix] Some invalid legend’s properties were used in the statistics’ table (
add_stat_bar
)
0.6
Released on May 15, 2022
Warning
:==
, :!=
, :<
, :>
, :<=
and :>=
)
everywhere without wondering if it will be executed in C or Python.AltiData
Now support multi-readers [doc]
Fields can now have subfields [doc]
Binned statistics
New statistics:
prod
andsum
Can now be computed on datetime fields
[Fix] add_ratio now works with additional diagnostics (was limited to time_stats)
[Fix] Multiple dask computation issues
MissingPoints computation
Error when encountering empty chunks
Reports
Many schemas were fixed
0.5.1
Released on January 25, 2022
AltiData
longitude
andlatitude
parameters are now optional. Not setting them disable the following options and diagnostics:Geographical box diagnostics
Crossover diagnostics
Missing points diagnostics
Raw data diagnostic
map
plotEditing diagnostic
map
plotAlong track interpolation
Shape selection
[Fix]
add_crossover_stat()
now correctly use thestat_selection
parameter.[Fix]
PlotTemplate
now correctly sethist_bar_
andstat_graph_
x, y or z axis.[Fix]
add_histogram()
Plot’s stat_bar’s statistics computation was incorrect.
Computation with dask was unable to merge results.
0.5
Released on January 10, 2022
General
Now available as a conda package!
AltiData
compute_dask()
was updated [doc]Now works with xarray Datasets.
dask_client
parameter is now optional.Use current cluster if any.
Create a local cluster if no previous cluster was created.
dask_client
parameter accepts a scheduler file’s path.
Now works with data not using the time field as main dimension.
[Fix] Along track interpolation now correctly works when used with
compute_dask()
.[Fix]
stat_selection
was not working when usingcompute_dask()
.
CasysPlot
Watermarks can now be added [doc]
DataParams
’snormalize
parameter now works with scatter’s plot[Fix] Some template’s parameters were lost when doing operations on plots.
[Fix]
data_used
is correctly updated at instantiation.
0.4
Released on September 20, 2021
AltiData
Median Absolute Deviation: binning related diagnostics (time_stat, geobox_stat, binned_stat, binned_stat_2d) can now compute the
mad
statistic.Multi-missions crossovers [doc - example]
add_crossover_stat()
now have adata
parameter allowing to compute crossovers between two AltiData.Field
now have asource_aux
parameter allowing to set an alternative source.
NadirData
now have aread_data()
method allowing to directly read data from a source (without using add_raw_data/compute) [doc].NadirData
now have aadd_raw_comparison()
diagnostic allowing to compare two raw fields [doc - example]Along track interpolation and merging
Data interpolated on a reference track now include values for each point of the reference track.
Data interpolated on a reference track now include the index of each measurement on the reference track simplifying comparison/merging of interpolated data.
merge_data()
method’sinterp
parameter default value is nowFalse
.Data containing the INTERPOLATED_INDEX field are considered as already aligned and will not be re-indexed when using
merge_data()
withinterp
set toFalse
.
Binning related diagnostics (GeoBox, TimeStat, BinnedStat and BinnedStat 2D) now allow a
stat_selection
parameter. This parameter allows to only include bins (or box) respecting a given clip based on statistics. These clips might include any statistic (count, min, max, mean, median, std, var or mad):count :>= 10 && max :< 100
min :> 3
median :> 10 && mean :> 9
CasysPlot
CasysPlot
now allows to create raw and raw_comparison plots without having to add them asNadirData
diagnostics first [doc]. The following new parameters can be used:field
: Field for which to create a raw_data diagnostic.x
: Field to use as x axis (raw comparison diagnostic).y
: Field to use as y axis (raw comparison diagnostic).Additional
read_data()
parameters in order to work on different time intervals.
PlotParams
’sshow_legend
parameter now applies to each individual plot in merged plotsDefault value (None) : Only display if more than 1 curve.
True : Display the legend.
False: Hide the legend.
0.3.2
Released on July 26, 2021
Documentation
Changelog
Templates documentation
Utilities
Reports
CasysPlot
Changes and fixes for geographical box count plots: Empty box (count = 0) were replaced with numpy.nan values in order to avoid coloring empty zones. This replacement did affect statistic and hist_graph data computation. New behavior and options:
AltiData
Fixing histogram statistics merging
Fixing xarray 0.19 compatibility issue when dealing with multidimensional indexes (different exception)
0.3.1
Released on June 13, 2021
AltiData
Fixing crossovers’ groups merging
Fixing crossovers’ data clearing
CasysPlot
Fixing plot’s operation (now handling operations with arrays)
0.3
Released on June 6, 2021
AltiData
Dask (documentation)
Now support raw_data
Now support STD computation (stat + histo)
Limited to CLS Table for now (does not work when datasets are used as input)
Stability improvements
data
returns an empty dataset and not an exception when emptyclear()
logs a warning if the requested diagnostic does not exist (instead of an exception)Binning related diagnostics (GeoBox, TimeStat, BinnedStat and BinnedStat 2D) computation time improved by a factor of 10 to 40
CasysPlot
PlotTemplate: CasysPlot has now a PlotTemplate parameter. Templates regroup the whole plot’s configuration (documentation).
DataParams.points_min_radius: DataParams now accepts a minimum radius allowed between two points when plotting raw data on maps (documentation).
Bars limitations: it’s no longer possible to add as many instance of the same element on a plot. Plots are composed by a finite number of elements.
1 title
1 legend
2 x-axis
2 y-axis
1 statistic bar
1 color bar
3 hist bars (x, y or z)
2 stat graph (x, y)
CasysPlot.remove_bar() function has been removed
Utilities functions to work with NetCDF files
nc_content()
: Show a NetCDF file contentopen_grdataset()
:Open a group with dimensions including in subgroups