Help Needed: Loading Multiple HYCOM Hourly Files #2022
-
Dear all, I have downloaded hourly HYCOM files over one month. Normally, I work with a single large file containing all dates, but this time I had to download the measurements separately using a Python script due to download constraints. When attempting to load all files into the FieldSet, I encountered an error that prevents me from following my usual workflow. I would greatly appreciate any guidance on how to: Properly load all individual files, Select a specific depth level, Specify a particular time range. Not working filenames = {
"U": sorted(glob.glob('/home/cl/Documents/Parcel/200501/*.nc')),
"V": sorted(glob.glob('/home/cl/Documents/Parcel/200501/*.nc')),
}
variables = {
'U': 'water_u',
'V': 'water_v'
}
dimensions = {
'lat': 'lat',
'lon': 'lon',
'time': 'time',
'depth': 'depth'
}
fieldset = parcels.FieldSet.from_nemo(filenames, variables, dimensions)
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Could you provide more information here?
|
Beta Was this translation helpful? Give feedback.
Awesome, great to hear that this works for your dataset.