Skip to content

Separate netCDF files for each time step #79

@Zhangxiangyu98

Description

@Zhangxiangyu98

Hi, I've encountered some issues while using the package. My data is a large set of high-resolusion model data stored in separate netCDF files for each time step, with each file containing variables like u, v, w, salt, temp, etc. For example, one of my netCDF files is named data0001.nc and it contains these variables, each with dimensions (lon, lat, depth, time), where the time dimension has a length of 1. And there are data0002.nc, data0003.nc and data0004.nc.... I'd like to know if the program can directly handle this type of data and if so, how should I set the dimensions and timestamps? I attempted to set the dimensions and timestamps parameters, both with and without setting the time dimension in dimensions, and also tried providing a time sequence as timestamps when calling f = filtering.LagrangeFilter(). However, I encountered errors during these operations.
Additionally, if I want to process a specific subregion of the data, can I use the indices parameter to set lon and lat values?

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