ase:nc
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
ase:nc [2019/05/21 18:52] – [set_nc] kimi | ase:nc [2022/08/23 13:34] (現在) – 外部編集 127.0.0.1 | ||
---|---|---|---|
行 7: | 行 7: | ||
</ | </ | ||
- | ===== parameter | + | ===== コンストラクタ |
+ | output netcdf file, or input file if nc already exists | ||
<code python> | <code python> | ||
jacapo = Jacapo(nc = ' | jacapo = Jacapo(nc = ' | ||
</ | </ | ||
- | + | ===== set_nc | |
- | ===== get_nc | + | set filename |
- | return the ncfile used for output | + | |
<code python> | <code python> | ||
- | jacapo.get_nc() | + | jacapo = Jacapo() |
+ | jacapo.set_nc(nc = ' | ||
</ | </ | ||
- | + | ==== Parameters | |
- | (self) | + | |nc | string |
- | + | ||
- | ===== set_nc | + | |
- | + | ||
- | set_nc(self, | + | |
- | set filename for the netcdf and text output for this calculation | + | |
- | + | ||
- | : | + | |
- | + | ||
- | nc : string | + | |
- | | + | |
if the ncfile attached to the calculator is changing, the old | if the ncfile attached to the calculator is changing, the old | ||
行 38: | 行 29: | ||
the text file will have the same basename as the ncfile, but | the text file will have the same basename as the ncfile, but | ||
with a .txt extension. | with a .txt extension. | ||
+ | ===== get_nc ===== | ||
+ | return the ncfile used for output | ||
+ | <code python> | ||
+ | jacapo = Jacapo(nc = ' | ||
+ | print jacapo.get_nc() | ||
+ | </ | ||
+ | |||
ase/nc.1558432328.txt.gz · 最終更新: 2022/08/23 13:34 (外部編集)