You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/posts/scientific-data-viewer/index.md
+31Lines changed: 31 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,15 @@ summary: 'Scientific Data Viewer is a VS Code extension that lets you explore Ne
12
12
13
13
Scientific Data Viewer is a VS Code extension that lets you explore NetCDF, Zarr, HDF5, GRIB, GeoTIFF, and other scientific data files directly in your editor. Built on Xarray, it displays the familiar HTML and text representations you know from Jupyter notebooks, making it easy to inspect file structure, dimensions, coordinates, and attributes without leaving your development environment.
14
14
15
+
<divalign="center">
16
+
<imgsrc="/posts/scientific-data-viewer/scientific-data-viewer-logo.png"alt="Scientific Data Viewer Icon"width="128"height="128"/>
@@ -26,10 +35,16 @@ For quick inspection tasks, this context switch is costly. You might also find y
26
35
27
36
Scientific Data Viewer brings Xarray's data inspection capabilities directly into VS Code. Click on a `.nc` file in the explorer, and instead of seeing binary gibberish, you get the same rich representation you're used to from Jupyter:
28
37
38
+
<divalign="center">
39
+
29
40

30
41
42
+
</div>
43
+
31
44
The extension uses Xarray under the hood to open files and extract metadata. It supports the formats that Xarray supports, including:
32
45
46
+
<divalign="center">
47
+
33
48
<table>
34
49
<thead>
35
50
<tr>
@@ -69,6 +84,7 @@ The extension uses Xarray under the hood to open files and extract metadata. It
69
84
</tbody>
70
85
</table>
71
86
87
+
</div>
72
88
73
89
74
90
## What You Can Do
@@ -90,20 +106,35 @@ For files with hierarchical structure (like nested Zarr groups or HDF5 groups),
90
106
91
107
A "Data Structure" panel appears in VS Code's explorer sidebar when viewing a scientific data file. This tree view mirrors the structure shown in the main panel and lets you quickly navigate to specific variables or groups.
92
108
109
+
<divalign="center">
110
+
93
111

94
112
113
+
</div>
114
+
95
115
### Basic Plotting (Experimental)
96
116
97
117
The extension includes experimental plotting capabilities using Matplotlib. You can generate quick visualizations of variables directly in the editor—useful for sanity checks, though not intended to replace proper analysis tools. The plotting automatically adapts to your VS Code theme (light or dark).
98
118
119
+
<divalign="center">
120
+
99
121

100
122
123
+
</div>
124
+
125
+
Available on: VSCode Marketplace • Open VSX Registry
126
+
101
127
### Export to HTML
102
128
103
129
Need to share your data inspection results? The extension can export the entire viewer contents as a self-contained HTML report, including all metadata and representations. This is handy for documentation or for sharing with colleagues who don't have the data file.
104
130
131
+
<divalign="center">
132
+
133
+
105
134

0 commit comments