ncRearrange

Version 1.0.0 (2,81 ko) par Yang Liu
Read data from NetCDF files and rearrange longitude and latitude dimensions.
7 téléchargements
Mise à jour 9 jan. 2024

Afficher la licence

ncRearrange reads data from variables in NetCDF (.nc) files and rearranges the longitude and latitude dimensions. This function offers several advantages over the standard ncread function provided by MATLAB:
(1) It repositions the longitude and latitude of the variable to the first and second dimensions, respectively.
(2) Longitude and latitude dimensions are reorganized in ascending order, i.e., rows from top to bottom represent west to east, while columns from left to right represent south to north.
(3) The function can read Geo2D data without the requirement for the user to specify the variable name.
(4) Unlike ncread, which requires a starting point and count for reading subset, ncRearrange allows users to read specific portions of data by specifying longitude and latitude ranges.
By using ncRearrange, users are no longer required to verify dimension order and variable names before accessing NetCDF data.

Citation pour cette source

Yang Liu (2024). ncRearrange (https://www.mathworks.com/matlabcentral/fileexchange/157361-ncrearrange), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2020a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Tags Ajouter des tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Publié le Notes de version
1.0.0