Skip to content

Commit

Permalink
Merge pull request #62 from aradhakrishnanGFDL/rm_emptycol
Browse files Browse the repository at this point in the history
remove index
  • Loading branch information
ceblanton authored Sep 23, 2024
2 parents 65882d6 + b97c67d commit c254cbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion catalogbuilder/scripts/gen_intake_gfdl.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def create_catalog(input_path=None, output_path=None, config=None, filter_realm=
if(slow == False) & ('standard_name' in headers):
if ((df is not None) & (len(df) != 0) ):
with open(csv_path, 'w') as csvfile:
df.to_csv(csvfile)
df.to_csv(csvfile,index=False)

print("JSON generated at:", os.path.abspath(json_path))
print("CSV generated at:", os.path.abspath(csv_path))
Expand Down

0 comments on commit c254cbf

Please sign in to comment.