Skip to content

Commit

Permalink
Reduce digits in scene radfile titles to 2 digits for clearance and p…
Browse files Browse the repository at this point in the history
…itch, 0 digits for tilt angle.
  • Loading branch information
cdeline committed Aug 22, 2024
1 parent 9c9f57b commit 981491e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bifacial_radiance/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2983,7 +2983,7 @@ def _makeSceneNxR(self, modulename=None, sceneDict=None, radname=None, addhubhei
self.module.scenex*(round(nMods/1.99)*1.0-1)*np.sin(
axis_tilt * np.pi/180) ) )

filename = (f'{radname}_C_{title_clearance_height:0.5f}_rtr_{pitch:0.5f}_tilt_{tilt:0.5f}_'
filename = (f'{radname}_C_{title_clearance_height:0.2f}_rtr_{pitch:0.2f}_tilt_{tilt:0.0f}_'
f'{nMods}modsx{nRows}rows_origin{originx},{originy}.rad' )

if self.hpc:
Expand Down

0 comments on commit 981491e

Please sign in to comment.