|
18 | 18 | "vo": (["depth", "latitude", "longitude", "time"], np.random.rand(T, Z, Y, X)), |
19 | 19 | }, |
20 | 20 | coords={ |
21 | | - "depth": (["depth"], np.linspace(0.49, 5727.92, Z), {"axis": "Z"}), |
22 | | - "latitude": (["latitude"], np.linspace(-90, 90, Y), {"axis": "Y"}), |
23 | | - "longitude": (["longitude"], np.linspace(-180, 180, X), {"axis": "X"}), |
24 | | - "time": (["time"], TIME, {"axis": "T"}), |
| 21 | + "depth": ( |
| 22 | + ["depth"], |
| 23 | + np.linspace(0.49, 5727.92, Z), |
| 24 | + { |
| 25 | + "unit_long": "Meters", |
| 26 | + "units": "m", |
| 27 | + "axis": "Z", |
| 28 | + "long_name": "depth", |
| 29 | + "standard_name": "depth", |
| 30 | + "positive": "down", |
| 31 | + }, |
| 32 | + ), |
| 33 | + "latitude": ( |
| 34 | + ["latitude"], |
| 35 | + np.linspace(-90, 90, Y), |
| 36 | + { |
| 37 | + "unit_long": "Degrees North", |
| 38 | + "units": "degrees_north", |
| 39 | + "axis": "Y", |
| 40 | + "long_name": "Latitude", |
| 41 | + "standard_name": "latitude", |
| 42 | + }, |
| 43 | + ), |
| 44 | + "longitude": ( |
| 45 | + ["longitude"], |
| 46 | + np.linspace(-180, 180, X), |
| 47 | + { |
| 48 | + "unit_long": "Degrees East", |
| 49 | + "units": "degrees_east", |
| 50 | + "axis": "X", |
| 51 | + "long_name": "Longitude", |
| 52 | + "standard_name": "longitude", |
| 53 | + }, |
| 54 | + ), |
| 55 | + "time": ( |
| 56 | + ["time"], |
| 57 | + TIME, |
| 58 | + { |
| 59 | + "unit_long": "Hours Since 1950-01-01", |
| 60 | + "axis": "T", |
| 61 | + "long_name": "Time", |
| 62 | + "standard_name": "time", |
| 63 | + }, |
| 64 | + ), |
25 | 65 | }, |
26 | 66 | ), |
27 | 67 | } |
0 commit comments