TNO Intern

Commit d5d58247 authored by Arjo Segers's avatar Arjo Segers
Browse files

Use pandas concat to combine dataframes.

parent 8d2ca37b
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -238,9 +238,8 @@ class CSO_PAL_Inquire(utopya.UtopyaRc):
                platform_name, rest = bname.split("_", 1)
                processing = rest[0:4]
                product_type = rest[5:15]
                start_time, end_time, orbit, collection, processor_version, production_time = rest[
                    16:
                ].split("_")
                (start_time,end_time,orbit,collection,\
                  processor_version,production_time) = rest[16:].split("_")

                # convert:
                tfmt = "%Y%m%dT%H%M%S"
@@ -262,7 +261,7 @@ class CSO_PAL_Inquire(utopya.UtopyaRc):
                    "href": [href],
                }
                # add record:
                output_df = output_df.append(pandas.DataFrame(rec), ignore_index=True)
                output_df = pandas.concat([output_df, pandas.DataFrame(rec)], ignore_index=True)

            # endfor # entries