Skip to main content

No project description provided

Project description

netCDF 轉換工具

這個專案包含兩個 Python 模組,用於操作 netCDF 格式的檔案。第一個模組 netcdf_to_csv.py 可將 netCDF 檔案轉換成 CSV 格式。第二個模組 netcdf_meta.py 可用來檢視 netCDF 檔案的元數據信息。

安裝

首先,使用以下命令安裝所需的套件:

python3 -m pip install netcdf-to-csv netcdf-meta

模組使用

netcdf_to_csv

這個模組將 netCDF 檔案轉換成 CSV 格式。以下為使用方法和範例:

python3 -m netcdf_to_csv <nc_file1> <nc_file2> ...

範例:

python3 -m netcdf_to_csv example1.nc example2.nc

這將會將 example1.ncexample2.nc 轉換成對應的 CSV 檔案 example1.csvexample2.csv

netcdf_meta

這個模組用來檢視 netCDF 檔案的元數據信息。以下為使用方法和範例:

python3 -m netcdf_meta <nc_file1> <nc_file2> ...

範例:

python3 -m netcdf_meta example1.nc example2.nc

這將會顯示 example1.ncexample2.nc 的元數據信息,包括全局屬性、維度、變量和前三行數據。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

netcdf-meta-1.0.2.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

netcdf_meta-1.0.2-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file netcdf-meta-1.0.2.tar.gz.

File metadata

  • Download URL: netcdf-meta-1.0.2.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for netcdf-meta-1.0.2.tar.gz
Algorithm Hash digest
SHA256 a79e99573c10f3d3c913637b59955578b76a76ec4cd1d8d8dd85f181c3cf92a3
MD5 42aa22607e3bed8d85153b1861a9edee
BLAKE2b-256 d6a497f28b3d638fd6d80b8ef9720dac743facfae2cd21a6a94c70d3c7f8bf8b

See more details on using hashes here.

File details

Details for the file netcdf_meta-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: netcdf_meta-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for netcdf_meta-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 998c728453ef01e04705b4873d927d4c784c7f8badc9ff40cadc7d44eb85976c
MD5 56f1e68b0bd859903012b5bfc274d4f6
BLAKE2b-256 f6f68b48f59d7cf0ff8dcc10aa8f8190ee1132d92313690b88fd5520de1bf4a6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page