Problem with preprocessings (make_ERA5)

I am using the last version of CROCO (v2.0).
After executing ./ERA5_request.py, ./ERA5_convert.py, I executed “make_ERA5” to generate the forcing with makefrc = 1 in crocotools_param. however I get the following error indicating that the i have no tidal data, here’s the error read:

Start date for nodal correction : 1-Jan-2019
Reading CROCO grid parameters …
Tidal components : M2 S2 N2 K2 K1 O1 P1 Q1 Mm Mf
Processing tide : 1 of 10
ssh…
Getting ssh_r for time index 1
Warning: The ‘cubic’ method requires the grid to have a uniform spacing.
Switching the method from ‘cubic’ to ‘spline’ because this condition is not met.

In interp2>makegriddedinterp (line 230)
In interp2 (line 138)
In ext_data_tpxo (line 63)
In add_tidal_data (line 111)
In make_ERA5 (line 214)
Getting ssh_i for time index 1
Warning: The ‘cubic’ method requires the grid to have a uniform spacing.
Switching the method from ‘cubic’ to ‘spline’ because this condition is not met.
In interp2>makegriddedinterp (line 230)
In interp2 (line 138)
In ext_data_tpxo (line 63)
In add_tidal_data (line 112)
In make_ERA5 (line 214)
u…
Getting u_r for time index 1
Warning: The ‘cubic’ method requires the grid to have a uniform spacing.
Switching the method from ‘cubic’ to ‘spline’ because this condition is not met.
In interp2>makegriddedinterp (line 230)
In interp2 (line 138)
In ext_data_tpxo (line 63)
In add_tidal_data (line 120)
In make_ERA5 (line 214)
Getting u_i for time index 1
Warning: The ‘cubic’ method requires the grid to have a uniform spacing.
Switching the method from ‘cubic’ to ‘spline’ because this condition is not met.
In interp2>makegriddedinterp (line 230)
In interp2 (line 138)
In ext_data_tpxo (line 63)
In add_tidal_data (line 121)
In make_ERA5 (line 214)
v…
Getting v_r for time index 1
Warning: The ‘cubic’ method requires the grid to have a uniform spacing.
Switching the method from ‘cubic’ to ‘spline’ because this condition is not met.
In interp2>makegriddedinterp (line 230)
In interp2 (line 138)
In ext_data_tpxo (line 63)
In add_tidal_data (line 129)
In make_ERA5 (line 214)
Getting v_i for time index 1
Warning: The ‘cubic’ method requires the grid to have a uniform spacing.
Switching the method from ‘cubic’ to ‘spline’ because this condition is not met.
In interp2>makegriddedinterp (line 230)
In interp2 (line 138)
In ext_data_tpxo (line 63)
In add_tidal_data (line 130)
In make_ERA5 (line 214)
Convert to tidal ellipse parameters…
Not enough input arguments.

Error in add_tidal_data (line 144)
if pot_tides,

Error in make_ERA5 (line 214)
add_tidal_data(tidename,grdname,frcname,Ntides,tidalrank,…

@dwikyharris
Do you need Tidal components? I know LeProvost. if you are interested then we together work on it. but make_ERA5.m I need to check. tomorrow I will let you know.

Hello,

thank you for your reply. i do need the tidal components, but then i tried to running it without the tides to fulfill my curiosity and the error was different from before. it said:

No data for the previous month: using current month
Undefined function or variable ‘awave’.

Error in interp_ERA5 (line 183)
nc_frc{‘Awave’}(tout,:,:)=awave;

Error in make_ERA5 (line 279)
interp_ERA5(ERA5_dir,Ym,Mm,Roa,interp_method,lon1,lat1,lon1wave,lat1wave, …

Thank you!
Subhadeep

@dwikyharris its ok. what is your application area?
think if I don’t know , how can i solve your problem.
I will check your problem. make_ERA5.m indicate atmospheric forcing. right?. you need the tides in it. It’s ok for you :slight_smile: .
subhadeep

My application area is in oceanography, specifically in studying ocean circulation and the distribution of larvae based on interannual approach.

@dwikyharris OK. but some pacific or specific, or its OCEAN?

its part of indian ocean, specifically east of andaman.

@dwikyharris ok :slight_smile: i will check only the mass balance effect. :slight_smile:

ok, thank you very much mr. subhadeep :smile:

1 Like

@dwikyharris subhadeep

is there any update mr. subhadeep?

@dwikyharris actually I am reading main.F that’s why remembering you.

ah ok then, thank you.

@dwikyharris
is their MPI_master_only write or PARALLEL DO PRIVATE ?

i think its the MPI_master_only write

1 Like

@dwikyharris : :slight_smile:

umm sorry maybe just to make sure again where can i check which one that im using right now?

@dwikyharris you are in the right place

maybe i want to ask again, could it be the problem’s from the TPXO file? im using the TPXO9 instead of the 7 or 6

@dwikyharris
NO. no problem at all. looking for you like a novel.