We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c581f83 commit 670c39aCopy full SHA for 670c39a
scripts/ej/cmr_to_models.py
@@ -68,7 +68,10 @@ def categorize_processing_level(level):
68
return "advanced analysis"
69
70
71
-ej_dump = json.load(open("backups/ej_dump_20240814_143036.json"))
+# remove existing data
72
+EnvironmentalJusticeRow.objects.filter(destination_server=EnvironmentalJusticeRow.DestinationServerChoices.DEV).delete()
73
+
74
+ej_dump = json.load(open("backups/ej_dump_20240815_112916.json"))
75
for dataset in ej_dump:
76
ej_row = EnvironmentalJusticeRow(
77
destination_server=EnvironmentalJusticeRow.DestinationServerChoices.DEV,
0 commit comments