File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8989 make html
9090
9191 - name : Upload docs artifact
92- uses : actions/upload-artifact@v3
92+ uses : actions/upload-artifact@v4
9393 with :
9494 name : documentation
9595 path : docs/_build/html/
@@ -115,7 +115,7 @@ jobs:
115115 safety check --json --output safety-report.json || true
116116
117117 - name : Upload security reports
118- uses : actions/upload-artifact@v3
118+ uses : actions/upload-artifact@v4
119119 with :
120120 name : security-reports
121121 path : |
Original file line number Diff line number Diff line change 8181 run : safety check --json --output safety-report.json
8282
8383 - name : Upload security reports
84- uses : actions/upload-artifact@v3
84+ uses : actions/upload-artifact@v4
8585 with :
8686 name : security-reports-pr
8787 path : |
Original file line number Diff line number Diff line change 2828 make html
2929
3030 - name : Upload documentation
31- uses : actions/upload-artifact@v3
31+ uses : actions/upload-artifact@v4
3232 with :
3333 name : documentation
3434 path : docs/_build/html/
Original file line number Diff line number Diff line change 2727 run : twine check dist/*
2828
2929 - name : Upload build artifacts
30- uses : actions/upload-artifact@v3
30+ uses : actions/upload-artifact@v4
3131 with :
3232 name : dist
3333 path : dist/
4040
4141 steps :
4242 - name : Download build artifacts
43- uses : actions/download-artifact@v3
43+ uses : actions/download-artifact@v4
4444 with :
4545 name : dist
4646 path : dist/
Original file line number Diff line number Diff line change @@ -120,27 +120,7 @@ def info_command(args: argparse.Namespace) -> None:
120120 print (f"Total groups: { len (dt .children )} " )
121121
122122 print ("\n Group structure:" )
123- for group_name , group in dt .groups .items ():
124- print (f" { group_name } :" )
125- if hasattr (group , "data_vars" ) and group .data_vars :
126- print (f" Variables: { list (group .data_vars .keys ())} " )
127- # Get dimensions from first variable
128- first_var = list (group .data_vars .keys ())[0 ]
129- if hasattr (group [first_var ], "shape" ):
130- print (f" Shape: { group [first_var ].shape } " )
131- if hasattr (group [first_var ], "dims" ):
132- print (f" Dimensions: { group [first_var ].dims } " )
133-
134- if hasattr (group , "coords" ) and group .coords :
135- print (f" Coordinates: { list (group .coords .keys ())} " )
136-
137- # Check for CRS information
138- if hasattr (group , "data_vars" ):
139- for var_name , var in group .data_vars .items ():
140- if hasattr (var , "attrs" ) and "proj:epsg" in var .attrs :
141- print (f" CRS (EPSG): { var .attrs ['proj:epsg' ]} " )
142- break
143- print ()
123+ print (dt )
144124
145125 except Exception as e :
146126 print (f"❌ Error reading dataset: { e } " )
You can’t perform that action at this time.
0 commit comments