hello everyone,
I want to make clm file with pyroms, according to the example named Palau_HYCOM , I run make_remap_weights_file.py ,but there is no remap_matrix data in remap_weights file. I make ROMS grid file with GridBulider , and I also have HYCOM_grid file.
Maybe something wrong in this line in compute_remap_weights.py :
# compute weights
pyroms.remapping.scrip.compute_remap_weights('compute_remap_weights_in')
Could anyone help me ?
Thanks in advance. XD
WangQian
18.6.8
No remap_matrix data in remap_weights file
Re: No remap_matrix data in remap_weights file
I don't know that this is your problem, but one potential problem is that your longitudes are negative and the HYCOM longitudes are all positive. I've got a little script to add 360 to the grid file longitudes - and another to subtract 360.
Re: No remap_matrix data in remap_weights file
Oh, it's a very stupid mistake. I do HYCOM_grid file by my script, but I make lat as lon, So pyroms can't work.kate wrote:I don't know that this is your problem, but one potential problem is that your longitudes are negative and the HYCOM longitudes are all positive. I've got a little script to add 360 to the grid file longitudes - and another to subtract 360.
Now it works, thank you very much.
WangQian