change CRS in netcdf4 files

7 views (last 30 days)
Sri Adiyanti
Sri Adiyanti on 5 Aug 2024
Moved: Walter Roberson on 6 Aug 2024
Hi, I have a bunch of netcdf4 files and need to convert to different coordinate system.
How can we do that?
thanks.
  2 Comments
KSSV
KSSV on 5 Aug 2024
More inofrmation is needed....
  1. Read the variables.
  2. Check in what projection they are
  3. USe certain defined transformation and convert them.
Sri Adiyanti
Sri Adiyanti on 6 Aug 2024
Hi, I am familiar with netcdf4 processing (reading, define and put variables, copy and put attributes, etc.). My MATLAB license include Mapping toolbox. Original coordinates CRS is WGS84 (epsg 4326). I want to convert it to GDA2020 (epsg 7850). What is the transformation function i can use for the conversion?
Thanks.

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 6 Aug 2024
Moved: Walter Roberson on 6 Aug 2024
  3 Comments
Walter Roberson
Walter Roberson on 6 Aug 2024
Moved: Walter Roberson on 6 Aug 2024
Use projfwd to convert from WGS84 to x y, then use projinv to convert the x y to GDA2020
Sri Adiyanti
Sri Adiyanti on 6 Aug 2024
Moved: Walter Roberson on 6 Aug 2024
Thanks Walter, got it!

Sign in to comment.

Tags

Products


Release

R2024a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!