|
Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
|
Go to the source code of this file.
Namespaces | |
| namespace | lfmformat |
Variables | |
| lfmformat.infile = sys.argv[1] | |
| lfmformat.f = pt.vlsvfile.VlsvReader(infile) | |
| lfmformat.coords = f.get_ionosphere_node_coords() | |
| lfmformat.lat = np.arctan2(coords[:,2], np.sqrt(coords[:,1]*coords[:,1] + coords[:,0]*coords[:,0])) | |
| lfmformat.lon = np.arctan2(coords[:,1], coords[:,0]) | |
| lfmformat.phi = f.read_ionosphere_variable("ig_potential"); | |