ase:nc
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン次のリビジョン両方とも次のリビジョン | ||
ase:nc [2019/05/21 18:50] – [get_nc] kimi | ase:nc [2019/05/21 18:56] – [parameter] kimi | ||
---|---|---|---|
行 1: | 行 1: | ||
====== ncファイル ====== | ====== ncファイル ====== | ||
- | ===== コンストラクタパラメータ | + | ===== summary |
<code python> | <code python> | ||
jacapo = Jacapo(nc = ' | jacapo = Jacapo(nc = ' | ||
行 7: | 行 7: | ||
</ | </ | ||
- | ===== parameter | + | ===== コンストラクタ |
<code python> | <code python> | ||
jacapo = Jacapo(nc = ' | jacapo = Jacapo(nc = ' | ||
行 15: | 行 15: | ||
return the ncfile used for output | return the ncfile used for output | ||
<code python> | <code python> | ||
- | jacapo.get_nc() | + | jacapo = Jacapo(nc = ' |
+ | print jacapo.get_nc() | ||
</ | </ | ||
- | |||
- | (self) | ||
===== set_nc ===== | ===== set_nc ===== | ||
- | (self, nc=' | + | set filename for the netcdf and text output for this calculation |
- | + | <code python> | |
- | get_nc(self) | + | jacapo = Jacapo() |
+ | jacapo.set_nc(nc = ' | ||
+ | </ | ||
+ | ==== Parameters ==== | ||
+ | |nc | string | filename for netcdf file | | ||
+ | |||
+ | if the ncfile attached to the calculator is changing, the old | ||
+ | file will be copied to the new file if it doesn not exist so | ||
+ | that all the calculator details are preserved. Otherwise, the | ||
+ | |||
+ | if the ncfile does not exist, it will get initialized. | ||
+ | |||
+ | the text file will have the same basename as the ncfile, but | ||
+ | with a .txt extension. | ||
ase/nc.txt · 最終更新: 2022/08/23 13:34 by 127.0.0.1