Skip to content

Compression and cdo flags #33

@jaseeverett

Description

@jaseeverett

We could add a new argument to each function that allows power users to pass additional cdo flags that they want added.

One that is important is compression. My merged files are 10-100 times bigger than the original. Default compression which seems to be the default on many CMIP files is level 1 with backward compatibility to previous nc versions:

cdo_flags <- "-f nc4c -z zip_1 -L"
cdo_cmd <- paste0("cdo ", cdo_flags, " -selname,'", v, "' -mergetime ", 
                  paste(files, collapse = " "), " ", out_file)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions