Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
enstools-encoding
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
w2w
enstools-encoding
Commits
85a12387
Commit
85a12387
authored
2 years ago
by
Oriol Tintó
Browse files
Options
Downloads
Patches
Plain Diff
Adding lossless defaults.
parent
2f9ae26e
No related branches found
No related tags found
1 merge request
!6
Get rid of Enums and use a dictionary to define available lossy compressors,...
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
enstools/encoding/rules.py
+6
-3
6 additions, 3 deletions
enstools/encoding/rules.py
with
6 additions
and
3 deletions
enstools/encoding/rules.py
+
6
−
3
View file @
85a12387
"""
Different rules to format the compression specification string.
Different rules to format the compression specification string
as well as some default values
.
"""
# Separator between two variable entries
...
...
@@ -11,11 +11,14 @@ VARIABLE_NAME_SEPARATOR = ":"
# Separator between the compression type, the compressor, the mode and the parameter
COMPRESSION_SPECIFICATION_SEPARATOR
=
"
,
"
# Default Label
# Default Label
s
DATA_DEFAULT_LABEL
=
"
default
"
COORD_LABEL
=
"
coordinates
"
# Default
v
alues
# Default
V
alues
DATA_DEFAULT_VALUE
=
"
lossless
"
COORD_DEFAULT_VALUE
=
"
lossless
"
# Lossless defaults
LOSSLESS_DEFAULT_BACKEND
=
"
lz4
"
LOSSLESS_DEFAULT_COMPRESSION_LEVEL
=
5
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment