You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bij het inlezen van data en metadata van een single station, komt de volgende error: SystemExit: Fatal: The given template: ['temp', 'name', 'lat', 'lon'] does not match with any of the metadata columns: ['Station', 'Latitude', 'Longitude'].
#%% READ IN STATION WITH METADATA
#1. Define the paths to your files:
data_file = r"C:\Users\ambjacob\Documents\Python_projecten\Paper_GF\Data_made\MOCCA\BAS_2016and2020_standard_1H.csv"
meta_data_file = r"C:\Users\ambjacob\Documents\Python_projecten\Paper_GF\Data_made\MOCCA\BAS_coordinates.csv"
template = r"C:\Users\ambjacob\Documents\Python_projecten\Paper_GF\Data_made\MOCCA\template.csv"
#2. initiate a dataset:
your_dataset = metobs_toolkit.Dataset()
#3. Update the paths to your files:
your_dataset.update_settings(
input_data_file = data_file,
input_metadata_file = meta_data_file,
template_file = template,
)
#4. Import your data :
your_dataset.import_data_from_file()
The text was updated successfully, but these errors were encountered:
Bij het inlezen van data en metadata van een single station, komt de volgende error:
SystemExit: Fatal: The given template: ['temp', 'name', 'lat', 'lon'] does not match with any of the metadata columns: ['Station', 'Latitude', 'Longitude'].
Gebruikte files:
[BAS_2016and2020_standard_1H.csv
template.csv
](https://github.com/vergauwenthomas/MetObs_toolkit/files/13675704/BAS_2016and2020_standard_1H.csv)
BAS_coordinates_original.csv
Code:
The text was updated successfully, but these errors were encountered: