Comments (4)
I think you can replace lines 38-44 with
depth_bnds_out = depth_bnds_in
and lines 32-36 with
depth_out = depth_in
That said, I'd like to do some testing to confirm that the code in lines 165-191 works properly when the output grid is identical to the input grid. I'll do some testing today.
from ocean_remap.
Thank you. I see. But if we run "gen_fulldepth_weights.ncl" by ourselves, we need three input files,
15 fname_vert_grid_in = "../grid_files/POP_gx1v7_vert_20161220.nc"
27 fname_topo_in = "../grid_files/POP_w_overflows_gx1v7_SCRIP_20180920.nc"
48 fname_in = "../weights_files/POP_gx1v7_to_latlon_1x1_0E_conserve_20180914.nc"
Are there available in this repo?
And, another related question, Does this work only for scalar quantities, such as temperature? Is there any other package works for vector quantities like velocity fields? I'm sorry for asking many times.
from ocean_remap.
I've confirmed that the remapping looks reasonable with the mods mentioned above.
Note that similar mods are needed for gen_partialdepth_weights.ncl
, which generates mapping weights for 3D fields that are not written full depth. They are only written out in the top 150 m. These are ecosystem variables related to living organisms whose values below the euphotic zone are negligible.
This repo does not have the files that you mention. I realize now that ocean_remap is not as self contained as I thought. I've placed tar files
grid_files.tar
weights_files.tar
containing these files on our ftp site: ftp.cgd.ucar.edu in the directory /pub/klindsay/ocean_remap_extra_files
These tar files should be untar'ed in the directory where you've placed ocean_remap.
ocean_remap is only designed for scalar quantities on the tracer points, such as temperature.
It does not handle vector quantities. It would take a fair amount of work to get it to work natively on vector quantities. A possible shortcut would be to average the vector quantities to the tracer grid, rotate them from being model grid oriented to being lat-lon oriented, and apply the tools of ocean_remap.
from ocean_remap.
Thank you! It works well in ICCP environment.
And, I understood about vector quantities.
from ocean_remap.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ocean_remap.