Skip to content

Unable to perform assignment because the left and right sides have a different number of elements. #24

Open
@hafez-ahmad

Description

when I run sample_application and I am getting this error. and would you add a code on how to make area map ? my study area is # set extent
''min_lon = 75.0
min_lat = 2.0
max_lon = 100.0
max_lat = 22.0''

Switch on to detect eddies.
19951201
Starting parallel pool (parpool) using the 'local' profile ...
Connected to the parallel pool (number of workers: 2).
19951208
19951215
19951222
19951229
Time elapsed in min: 0.60431
Switch on to track eddies.
1

 2

 3

 4

Modifying eddy data to include fake eddies (for the sake of the tracks) - takes time
1

 2

 3

 4

Modifying eddy data to include fake eddies (for the sake of the tracks) - takes time
Time elapsed in min: 0.042537
getting eddies attributes, will take a long time (about 30mins for 900 time slices)
1

 2

 3

 4

 5

 1

 2

 3

 4

 5

Date: 1
grabbing ant eddies from 1 to 37
grabbing cyc eddies from 38 to 69
Date: 2
grabbing ant eddies from 70 to 100
grabbing cyc eddies from 101 to 131
Date: 3
grabbing ant eddies from 132 to 167
Unable to perform assignment because the left and right sides have a different number of elements.

Error in reformat_track_data_to_chelton (line 73)
eddies_t.id(st:ant_eddy_counts(n)+st-1)=ant_eddy_track_indexes{n};

Error in sample_application (line 225)
reformatted_data = reformat_track_data_to_chelton(eddy_dir, timevec(t1:t2), eddies_track{1,:}, eddies_track{2,:});

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions