@@ -421,7 +421,7 @@ def _add_roll_mask(ds):
421421 return ds
422422
423423
424- def add_georeference (ds , lat , lon , plane_pitch , plane_roll , plane_altitude , source ):
424+ def add_georeference (ds , lat , lon , plane_pitch , plane_roll , plane_altitude ):
425425 """Add georeference information to dataset."""
426426 ds = ds .assign (
427427 plane_altitude = plane_altitude .sel (time = ds .time , method = "nearest" ).assign_coords (
@@ -436,7 +436,6 @@ def add_georeference(ds, lat, lon, plane_pitch, plane_roll, plane_altitude, sour
436436 time = ds .time
437437 ),
438438 )
439- ds .attrs ["georeference source" ] = source
440439 return ds
441440
442441
@@ -643,23 +642,23 @@ def add_metadata_radar(ds, flight_id):
643642 """
644643
645644 ds .attrs ["flight_id" ] = flight_id
646- ds .attrs ["title" ] = (
647- "MIRA Cloud Radar Moments from the HALO Microwave Package (Level 3) "
648- )
645+ ds .attrs [
646+ "title "
647+ ] = "MIRA Cloud Radar Moments from the HALO Microwave Package (Level 3)"
649648 ds .attrs ["summary" ] = (
650649 "This dataset contains measurements from the MIRA cloud radar onboard the HALO aircraft during the ORCESTRA campaign. "
651650 "The measurements are processed and quality controlled. The processing includes formatting the data, adding georeference information, "
652651 "filtering for noise, clutter and valid radar states, and adding masks for calibration, ground reflections, and roll segments."
653652 )
654653 ds .attrs ["creator_name" ] = "Jakob Deutloff, Lukas Kluft, Clara Bayley"
655- ds .attrs ["creator_email" ] = (
656- "jakob.deutloff@uni-hamburg.de, lukas.kluft@mpimet.mpg.de, clara.bayley@mpimet.mpg.de "
657- )
654+ ds .attrs [
655+ "creator_email "
656+ ] = "jakob.deutloff@uni-hamburg.de, lukas.kluft@mpimet.mpg.de, clara.bayley@mpimet.mpg.de"
658657 ds .attrs ["project" ] = "ORCESTRA, PERCUSION"
659658 ds .attrs ["platform" ] = "HALO"
660- ds .attrs ["history" ] = (
661- "The processing software is available at https://github.com/orcestra-campaign/hamp_processing "
662- )
659+ ds .attrs [
660+ "history "
661+ ] = "The processing software is available at https://github.com/orcestra-campaign/hamp_processing"
663662 ds .attrs ["license" ] = "CC-BY-4.0"
664663 ds .attrs ["featureType" ] = "trajectoryProfile"
665664 ds .attrs ["references" ] = "10.5194/amt-12-1815-2019, 10.5194/essd-13-5545-2021"
@@ -698,20 +697,20 @@ def add_metadata_radiometer(ds, flight_id):
698697 "adding georeference information, and filtering for altitudes above 4800 m and adding a land-sea mask."
699698 )
700699 ds .attrs ["creator_name" ] = "Jakob Deutloff, Lukas Kluft, Clara Bayley"
701- ds .attrs ["creator_email" ] = (
702- "jakob.deutloff@uni-hamburg.de, lukas.kluft@mpimet.mpg.de, clara.bayley@mpimet.mpg.de "
703- )
700+ ds .attrs [
701+ "creator_email "
702+ ] = "jakob.deutloff@uni-hamburg.de, lukas.kluft@mpimet.mpg.de, clara.bayley@mpimet.mpg.de"
704703 ds .attrs ["project" ] = "ORCESTRA, PERCUSION"
705704 ds .attrs ["platform" ] = "HALO"
706- ds .attrs ["history" ] = (
707- "The processing software is available at https://github.com/orcestra-campaign/hamp_processing "
708- )
705+ ds .attrs [
706+ "history "
707+ ] = "The processing software is available at https://github.com/orcestra-campaign/hamp_processing"
709708 ds .attrs ["license" ] = "CC-BY-4.0"
710709 ds .attrs ["featureType" ] = "trajectoryProfile"
711710 ds .attrs ["references" ] = "10.5194/amt-12-1815-2019, 10.5194/essd-13-5545-2021"
712- ds .attrs ["keywords" ] = (
713- "Radiometer, Microwave, HALO, ORCESTRA, PERCUSION, Tropical Atlantic "
714- )
711+ ds .attrs [
712+ "keywords "
713+ ] = "Radiometer, Microwave, HALO, ORCESTRA, PERCUSION, Tropical Atlantic"
715714
716715 ds .attrs .pop ("Comment" , None )
717716 ds .attrs .pop ("Radiometer_Location" , None )
@@ -739,30 +738,30 @@ def add_metadata_iwv(ds, flight_id):
739738 """
740739
741740 ds .attrs ["flight_id" ] = flight_id
742- ds .attrs ["title" ] = (
743- "Integrated Water Vapor Retrieval from the K-Band and W-Band Microwave Radiometers "
744- )
741+ ds .attrs [
742+ "title "
743+ ] = "Integrated Water Vapor Retrieval from the K-Band and W-Band Microwave Radiometers"
745744 ds .attrs ["summary" ] = (
746745 "This dataset contains retrievals of integrated water vapor (IWV) from the KV-band microwave radiometer onboard the HALO aircraft during the ORCESTRA campaign. "
747746 "The retrieval is based on a linear regression model and should not be used for quantitative analysis. "
748747 "The purpose of this data was to provide an estimate of IWV during the flights. The processing includes formatting the data, "
749748 "adding georeference information, filtering for altitudes above 4800 m and adding a land-sea mask."
750749 )
751750 ds .attrs ["creator_name" ] = "Jakob Deutloff, Lukas Kluft, Clara Bayley"
752- ds .attrs ["creator_email" ] = (
753- "jakob.deutloff@uni-hamburg.de, lukas.kluft@mpimet.mpg.de, clara.bayley@mpimet.mpg.de "
754- )
751+ ds .attrs [
752+ "creator_email "
753+ ] = "jakob.deutloff@uni-hamburg.de, lukas.kluft@mpimet.mpg.de, clara.bayley@mpimet.mpg.de"
755754 ds .attrs ["project" ] = "ORCESTRA, PERCUSION"
756755 ds .attrs ["platform" ] = "HALO"
757- ds .attrs ["history" ] = (
758- "The processing software is available at https://github.com/orcestra-campaign/hamp_processing "
759- )
756+ ds .attrs [
757+ "history "
758+ ] = "The processing software is available at https://github.com/orcestra-campaign/hamp_processing"
760759 ds .attrs ["license" ] = "CC-BY-4.0"
761760 ds .attrs ["featureType" ] = "trajectoryProfile"
762761 ds .attrs ["references" ] = "10.5194/amt-7-4539-2014"
763- ds .attrs ["keywords" ] = (
764- "Radiometer, Microwave, Integrated Water Vapor, Retrieval, HALO, ORCESTRA, PERCUSION, Tropical Atlantic "
765- )
762+ ds .attrs [
763+ "keywords "
764+ ] = "Radiometer, Microwave, Integrated Water Vapor, Retrieval, HALO, ORCESTRA, PERCUSION, Tropical Atlantic"
766765
767766 ds .attrs .pop ("Comment" , None )
768767 ds .attrs .pop ("Radiometer_Location" , None )
0 commit comments