Skip to content

Commit db688e9

Browse files
committed
rm unused *FIELD_FILES* variables
1 parent dac1a55 commit db688e9

1 file changed

Lines changed: 0 additions & 100 deletions

File tree

src/stagpy/phyvars.py

Lines changed: 0 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -135,78 +135,6 @@ def h5_file_info(self, name: str) -> tuple[str, Sequence[str]]:
135135
)
136136
"""Scalar fields that StagPy can compute."""
137137

138-
FIELD_FILES: Mapping[str, list[str]] = MappingProxyType(
139-
{
140-
"t": ["T"],
141-
"vp": ["v1", "v2", "v3", "p"],
142-
"Pdyn": ["Pdyn"],
143-
"c": ["c"],
144-
"eta": ["eta"],
145-
"rho": ["rho"],
146-
"hpe": ["hpe"],
147-
"wtr": ["wtr"],
148-
"age": ["age"],
149-
"nrc": ["contID"],
150-
"rs": ["rs1", "rs2", "rs3", "rsc"],
151-
"str": ["sII"],
152-
"sx": ["sx1", "sx2", "sx3", "s1val"],
153-
"ed": ["edot"],
154-
"k": ["Tcond"],
155-
"bs": ["basalt"],
156-
"hz": ["harzburgite"],
157-
"imp": ["impactor"],
158-
"prm": ["prim"],
159-
"f": ["meltfrac"],
160-
"fc": ["meltcompo"],
161-
"df": ["meltrate"],
162-
"vm": ["meltvel"],
163-
"nm": ["nmelt"],
164-
"fSiO2": ["fSiO2"],
165-
"fMgO": ["fMgO"],
166-
"fFeO": ["fFeO"],
167-
"fXO": ["fXO"],
168-
"fFeR": ["fFeR"],
169-
}
170-
)
171-
172-
FIELD_FILES_H5: Mapping[str, list[str]] = MappingProxyType(
173-
{
174-
"Temperature": ["T"],
175-
"Velocity": ["v1", "v2", "v3"],
176-
"Pressure": ["p"],
177-
"DynamicPressure": ["Pdyn"],
178-
"Composition": ["c"],
179-
"IronContent": ["cFe"],
180-
"HPE": ["hpe"],
181-
"Viscosity": ["eta"],
182-
"Density": ["rho"],
183-
"TraBasedDensity": ["trarho"],
184-
"water": ["wtr"],
185-
"Age": ["age"],
186-
"ContinentNumber": ["contID"],
187-
"ResidualMomentum": ["rs1", "rs2", "rs3"],
188-
"ResidualContinuity": ["rsc"],
189-
"Stress": ["sII"],
190-
"PrincipalStressAxis": ["sx1", "sx2", "sx3"],
191-
"StrainRate": ["edot"],
192-
"ThermalConductivity": ["Tcond"],
193-
"Basalt": ["basalt"],
194-
"Harzburgite": ["harzburgite"],
195-
"Impactor": ["impactor"],
196-
"Primordial": ["prim"],
197-
"MeltFrac": ["meltfrac"],
198-
"MeltComposition": ["meltcompo"],
199-
"MeltingRate": ["meltrate"],
200-
"MeltVelocity": ["meltvel"],
201-
"nmelt": ["nmelt"],
202-
"fSiO2": ["fSiO2"],
203-
"fMgO": ["fMgO"],
204-
"fFeO": ["fFeO"],
205-
"fXO": ["fXO"],
206-
"fFeR": ["fFeR"],
207-
}
208-
)
209-
210138
SFIELD: FieldVars = FieldVars.from_dict(
211139
{
212140
"topo_bot": Varf("Topography at bottom", "m", "cs", "BottomTopography"),
@@ -228,34 +156,6 @@ def h5_file_info(self, name: str) -> tuple[str, Sequence[str]]:
228156
)
229157
"""Surface scalar fields output by StagYY."""
230158

231-
SFIELD_FILES: Mapping[str, list[str]] = MappingProxyType(
232-
{
233-
"cs": ["topo_bot", "topo_top"],
234-
"g": ["geoid_bot", "geoid_top"],
235-
"csg": ["topo_g_bot", "topo_g_top"],
236-
"hf": ["fbot", "ftop"],
237-
"hfs": ["fsbot", "fstop"],
238-
"cr": ["crust"],
239-
}
240-
)
241-
242-
SFIELD_FILES_H5: Mapping[str, list[str]] = MappingProxyType(
243-
{
244-
"BottomTopography": ["topo_bot"],
245-
"SurfaceTopography": ["topo_top"],
246-
"BottomGeoid": ["geoid_bot"],
247-
"TopGeoid": ["geoid_top"],
248-
"BottomCSGeoid": ["topo_g_bot"],
249-
"TopCSGeoid": ["topo_g_top"],
250-
"BottomHeatFlux": ["fbot"],
251-
"TopHeatFlux": ["ftop"],
252-
"BottomHFSpectrum": ["fsbot"],
253-
"TopHFSpectrum": ["fstop"],
254-
"CrustThickness": ["crust"],
255-
}
256-
)
257-
258-
259159
RPROF: Mapping[str, Varr] = MappingProxyType(
260160
{
261161
"r": Varr("Radial coordinate", "Radius", "m"),

0 commit comments

Comments
 (0)