Closed Manuel-Fundora closed 1 year ago
Ok if you want apply filter with your parameter on grid you need a much larger grid.
I am working on a local scale, only the Mexican Pacific region. download my data according to this region. im not using MOTU, do you advise me to use it?
I don't advise to use MOTU. When you do a ncdump on your file there are several thing which are modified from original file: Your file :
ncdump -h cmems_obs-sl_glo_phy-ssh_my_allsat-l4-duacs-2014-11-22.nc
{
dimensions:
time = 1 ;
latitude = 41 ;
longitude = 41 ;
nv = 2 ;
variables:
...
double ugos(time, latitude, longitude) ;
ugos:coordinates = "longitude latitude" ;
ugos:grid_mapping = "crs" ;
ugos:long_name = "Absolute geostrophic velocity: zonal component" ;
ugos:standard_name = "surface_geostrophic_eastward_sea_water_velocity" ;
ugos:units = "m/s" ;
ugos:_ChunkSizes = 1, 50, 50 ;
// global attributes:
...
:time_coverage_duration = "P1D" ;
:time_coverage_end = "2022-02-09T12:00:00Z" ;
:time_coverage_resolution = "P1D" ;
:time_coverage_start = "2022-02-08T12:00:00Z" ;
:title = "DT merged all satellites Global Ocean Gridded SSALTO/DUACS Sea Surface Height L4 product and derived variables" ;
:_CoordSysBuilder = "ucar.nc2.dataset.conv.CF1Convention" ;
}
Original one :
ncdump -h dt_global_allsat_phy_l4_20141122_20210726.nc
{
dimensions:
time = 1 ;
latitude = 720 ;
longitude = 1440 ;
nv = 2 ;
variables:
....
int ugos(time, latitude, longitude) ;
ugos:_FillValue = -2147483647 ;
ugos:coordinates = "longitude latitude" ;
ugos:grid_mapping = "crs" ;
ugos:long_name = "Absolute geostrophic velocity: zonal component" ;
ugos:scale_factor = 0.0001 ;
ugos:standard_name = "surface_geostrophic_eastward_sea_water_velocity" ;
ugos:units = "m/s" ;
// global attributes:
...
:time_coverage_duration = "P1D" ;
:time_coverage_end = "2014-11-22T12:00:00Z" ;
:time_coverage_resolution = "P1D" ;
:time_coverage_start = "2014-11-21T12:00:00Z" ;
:title = "DT merged all satellites Global Ocean Gridded SSALTO/DUACS Sea Surface Height L4 product and derived variables" ;
}
Thank you very much. Can you specify where I can download the data (the one you indicate as original) or if you can send it to me. To start work on the script with it. Excuse the inconvenience, but it would be of great help to my work to obtain the results that you expose in your algorithms.
Thanks, I already downloaded the data from the ftp. Now when I run the script it generates these images. Apparently there is something with the coordinates, with the latitude. I tried to transform it in the file but I couldn't, I tried to add 360 to it but it didn't work either. What could I do? I send you the resulting images.
Quick solution: if you want detetion of eddies on CMEMS maps you could use AVISO atlas which are computed with CMEMS maps. With py eddy tracker tools you could do a subset on your area.
Thanks, I already downloaded the data for the eddies from A.VISO (META3.2_DT_allsat_Cyclonic_long_19930101_20220209.nc) for both cyclonic and anticyclonic. This data with what section of the eddie tracker can I process it.
# To select on area from [200W:250W] and [20N:40N]
EddySubSetter my_atlas_in.nc atlas_out.nc --area 200 20 250 40
# For documentation
EddySubSetter -h
hello, I have already managed to make the spatial cut, but the temporary one is not done, this is the line that I am putting
EddySubSetter "META3.2_DT_allsat_Anticyclonic_untracked_19930101_20220209.nc" "cutted3.nc" \
--area 245 15 255 25 -p 26306 26309
I already tried with the days in julians or starting from scratch but when I add this part the cut is not made, how could I make the cut by time too.
Time is stored with a scale/offset options so use this option --no_raw_mode
to filter time
Thank you very much for your help and time
hello, how can i create the .zarr archives?, to makes the trajectories and the lifetimes.
When you save use .zarr
extension instead of .nc
. But netcdf could also store trajetories.
thanks, So in the eddy_tracker the scripts that call .zarr files can be replaced by the same .nc that I cut from the AVI.SO Atlas? Or when I cut with the EddySubsetter should I save the file as .zarr?
zarr or nc is only extension for storage, those 2 formats could be use like you want at each processings step
ok, how can i know the id for a specific eddy? for example: in the track animation script, how can i change the directory to my .nc file and the id number for extract? And knowing the id how can I know its independent properties, radius, area, EKE, OW parameter, for a single eddy i mean.
load_file
to load another datasetmy_atlas.extract_ids([my_ids, ....]).speed_radius
will give speed radius for all given IDHi, I'm trying to track a particular eddy for my study region, how can I get the ids of those eddies involved. On the other hand, in the scripts corresponding to the tracking (pet_one_track, pet_track_anim, pet_track_anim_matplotlib_animation) when I use my database and change the id it does not make the video. Could you help me. Thank you very much, I am attaching my cropped area from A.VISO atlas. Anticyclonic_PTFM.zip Scripts.zip thanks for your time.
Please for a new topic open a new issue or discussion thread :).
Bug report
Bug summary
Code for reproduction
Actual outcome
Expected outcome this code should provide an image with the cyclonic and anticyclonic eddies in the region
Copernicus_Data.zip