我正在使用URL從opendap服務器(數據的子集)中打開netcdf數據。當我打開它時,數據是(據我所知)實際上沒有加載,直到請求變量。我想將數據保存到磁盤上的文件中,我該怎麼做? 我目前有: import numpy as np
import netCDF4 as NC
url = u'http://etc/etc/hourly?varname[0:1:10][0:1:30]'
set
我試圖將命令輸出合併到一行中,以便打印輸出以顯示機器名稱,裝載和「聯機」狀態。 這裏是輸出怎麼弄出來: Status of volume: mymount
Gluster process TCP Port RDMA Port Online Pid
-------------------------------------------------------------------